JsonRpcError 類別

定義

描述因 JsonRpcRequest 伺服器上失敗而造成的錯誤。

[System.Runtime.Serialization.DataContract]
public class JsonRpcError : StreamJsonRpc.Protocol.JsonRpcMessage
[System.Runtime.Serialization.DataContract]
public class JsonRpcError : StreamJsonRpc.Protocol.JsonRpcMessage, StreamJsonRpc.Protocol.IJsonRpcMessageWithId
[<System.Runtime.Serialization.DataContract>]
type JsonRpcError = class
    inherit JsonRpcMessage
[<System.Runtime.Serialization.DataContract>]
type JsonRpcError = class
    inherit JsonRpcMessage
    interface IJsonRpcMessageWithId
Public Class JsonRpcError
Inherits JsonRpcMessage
Public Class JsonRpcError
Inherits JsonRpcMessage
Implements IJsonRpcMessageWithId
繼承
JsonRpcError
屬性
實作

建構函式

JsonRpcError()

描述因 JsonRpcRequest 伺服器上失敗而造成的錯誤。

屬性

DebuggerDisplay

取得要在此實例的偵錯工具中顯示的字串。

Error

取得或設定有關錯誤的詳細資料。

Id
已淘汰.

如果預期要求回應,則取得或設定用戶端所建立的識別碼。

RequestId

如果預期要求回應,則取得或設定用戶端所建立的識別碼。

Version

取得或設定此訊息符合的 JSON-RPC 通訊協定版本。

(繼承來源 JsonRpcMessage)

方法

ToString()

描述因 JsonRpcRequest 伺服器上失敗而造成的錯誤。

TryGetTopLevelProperty<T>(String, T)

從內送訊息擷取最上層屬性,該訊息是 JSON-RPC 規格的延伸模組。

(繼承來源 JsonRpcMessage)
TrySetTopLevelProperty<T>(String, T)

在訊息中設定最上層屬性,該訊息是 JSON-RPC 規格的延伸模組。

(繼承來源 JsonRpcMessage)

適用於