語言

UnrecognizedJsonRpcMessageException 類別

定義

當收到的 JSON-RPC 訊息無法被識別為符合任何已知 JSON-RPC 訊息時,會拋出例外。

[System.Serializable]
public class UnrecognizedJsonRpcMessageException : StreamJsonRpc.RemoteRpcException
[<System.Serializable>]
type UnrecognizedJsonRpcMessageException = class
    inherit RemoteRpcException
Public Class UnrecognizedJsonRpcMessageException
Inherits RemoteRpcException
繼承
UnrecognizedJsonRpcMessageException
屬性

建構函式

名稱 Description
UnrecognizedJsonRpcMessageException()

初始化 UnrecognizedJsonRpcMessageException 類別的新執行個體。

UnrecognizedJsonRpcMessageException(SerializationInfo, StreamingContext)

初始化 UnrecognizedJsonRpcMessageException 類別的新執行個體。

UnrecognizedJsonRpcMessageException(String, Exception)

初始化 UnrecognizedJsonRpcMessageException 類別的新執行個體。

UnrecognizedJsonRpcMessageException(String)

初始化 UnrecognizedJsonRpcMessageException 類別的新執行個體。

屬性

名稱 Description
DeserializedErrorData

取得或設定 error.data 錯誤回應中的值(若有提供)。

(繼承來源 RemoteRpcException)
ErrorCode

若有欄位可用,則取得或設定回應欄位的值 error.code 。

(繼承來源 RemoteRpcException)
ErrorData

取得或設定 error.data 錯誤回應中的值(若有提供)。

(繼承來源 RemoteRpcException)

方法

名稱 Description
GetObjectData(SerializationInfo, StreamingContext)

當收到的 JSON-RPC 訊息無法被識別為符合任何已知 JSON-RPC 訊息時,會拋出例外。

(繼承來源 RemoteRpcException)

適用於