JsonRpcError.ErrorDetail.Code Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Dient zum Abrufen oder Festlegen einer Zahl, die den aufgetretenen Fehlertyp angibt.
[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
Eigenschaftswert
Die Fehlercodes von und einschließlich -32768 zu -32000 sind für Fehler reserviert, die von der Spezifikation oder dieser Bibliothek definiert wurden. Codes außerhalb dieses Bereichs sind für appspezifische Fehlercodes verfügbar.
- Attribute