JsonRpcError.ErrorDetail.Code プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
発生したエラーの種類を示す数値を取得または設定します。
[System.Runtime.Serialization.DataMember(IsRequired=true, Name="code", Order=0)]
public StreamJsonRpc.Protocol.JsonRpcErrorCode Code { get; set; }
[System.Runtime.Serialization.DataMember(IsRequired=true, Name="code", Order=0)]
[System.Text.Json.Serialization.JsonPropertyName("code")]
[System.Text.Json.Serialization.JsonPropertyOrder(0)]
[System.Text.Json.Serialization.JsonRequired]
public StreamJsonRpc.Protocol.JsonRpcErrorCode Code { get; set; }
[<System.Runtime.Serialization.DataMember(IsRequired=true, Name="code", Order=0)>]
member this.Code : StreamJsonRpc.Protocol.JsonRpcErrorCode with get, set
[<System.Runtime.Serialization.DataMember(IsRequired=true, Name="code", Order=0)>]
[<System.Text.Json.Serialization.JsonPropertyName("code")>]
[<System.Text.Json.Serialization.JsonPropertyOrder(0)>]
[<System.Text.Json.Serialization.JsonRequired>]
member this.Code : StreamJsonRpc.Protocol.JsonRpcErrorCode with get, set
Public Property Code As JsonRpcErrorCode
プロパティ値
-32000 に対する -32768 を含むエラー コードは、仕様またはこのライブラリによって定義されたエラー用に予約されています。 その範囲外のコードは、アプリ固有のエラー コードで使用できます。
- 属性