RemoteRpcException 类

定义

接收 JSON-RPC 通信时发生的任何异常的基异常类。

public abstract class RemoteRpcException : Exception
[System.Serializable]
public abstract class RemoteRpcException : Exception
type RemoteRpcException = class
    inherit Exception
[<System.Serializable>]
type RemoteRpcException = class
    inherit Exception
Public MustInherit Class RemoteRpcException
Inherits Exception
继承
RemoteRpcException
派生
属性

构造函数

RemoteRpcException(SerializationInfo, StreamingContext)

初始化 RemoteRpcException 类的新实例。

RemoteRpcException(String)

初始化 RemoteRpcException 类的新实例。

RemoteRpcException(String, Exception)

初始化 RemoteRpcException 类的新实例。

属性

DeserializedErrorData

获取或设置 error.data 错误响应中的值(如果已提供)。

ErrorCode

获取或设置响应中字段的值 error.code (如果可用)。

ErrorData

获取或设置 error.data 错误响应中的值(如果已提供)。

方法

GetObjectData(SerializationInfo, StreamingContext)

接收 JSON-RPC 通信时发生的任何异常的基异常类。

适用于