UnrecognizedJsonRpcMessageException 构造函数

定义

重载

UnrecognizedJsonRpcMessageException()

初始化 UnrecognizedJsonRpcMessageException 类的新实例。

UnrecognizedJsonRpcMessageException(String)

初始化 UnrecognizedJsonRpcMessageException 类的新实例。

UnrecognizedJsonRpcMessageException(SerializationInfo, StreamingContext)

初始化 UnrecognizedJsonRpcMessageException 类的新实例。

UnrecognizedJsonRpcMessageException(String, Exception)

初始化 UnrecognizedJsonRpcMessageException 类的新实例。

UnrecognizedJsonRpcMessageException()

初始化 UnrecognizedJsonRpcMessageException 类的新实例。

public UnrecognizedJsonRpcMessageException ();
Public Sub New ()

适用于

UnrecognizedJsonRpcMessageException(String)

初始化 UnrecognizedJsonRpcMessageException 类的新实例。

public UnrecognizedJsonRpcMessageException (string? message);
new StreamJsonRpc.UnrecognizedJsonRpcMessageException : string -> StreamJsonRpc.UnrecognizedJsonRpcMessageException
Public Sub New (message As String)

参数

message
String

解释异常原因的错误消息。

适用于

UnrecognizedJsonRpcMessageException(SerializationInfo, StreamingContext)

初始化 UnrecognizedJsonRpcMessageException 类的新实例。

public UnrecognizedJsonRpcMessageException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected UnrecognizedJsonRpcMessageException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new StreamJsonRpc.UnrecognizedJsonRpcMessageException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> StreamJsonRpc.UnrecognizedJsonRpcMessageException
Public Sub New (info As SerializationInfo, context As StreamingContext)
Protected Sub New (info As SerializationInfo, context As StreamingContext)

参数

info
SerializationInfo

序列化信息。

context
StreamingContext

流式处理上下文。

适用于

UnrecognizedJsonRpcMessageException(String, Exception)

初始化 UnrecognizedJsonRpcMessageException 类的新实例。

public UnrecognizedJsonRpcMessageException (string? message, Exception? innerException);
new StreamJsonRpc.UnrecognizedJsonRpcMessageException : string * Exception -> StreamJsonRpc.UnrecognizedJsonRpcMessageException
Public Sub New (message As String, innerException As Exception)

参数

message
String

解释异常原因的错误消息。

innerException
Exception

导致当前异常的异常;如果未指定任何内部异常,则为空引用(在 Visual Basic 中为 Nothing)。

适用于