Share via


UnrecognizedJsonRpcMessageException Constructors

Definition

Overloads

UnrecognizedJsonRpcMessageException()

Initializes a new instance of the UnrecognizedJsonRpcMessageException class.

UnrecognizedJsonRpcMessageException(String)

Initializes a new instance of the UnrecognizedJsonRpcMessageException class.

UnrecognizedJsonRpcMessageException(SerializationInfo, StreamingContext)

Initializes a new instance of the UnrecognizedJsonRpcMessageException class.

UnrecognizedJsonRpcMessageException(String, Exception)

Initializes a new instance of the UnrecognizedJsonRpcMessageException class.

UnrecognizedJsonRpcMessageException()

Initializes a new instance of the UnrecognizedJsonRpcMessageException class.

public UnrecognizedJsonRpcMessageException ();
Public Sub New ()

Applies to

UnrecognizedJsonRpcMessageException(String)

Initializes a new instance of the UnrecognizedJsonRpcMessageException class.

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

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

UnrecognizedJsonRpcMessageException(SerializationInfo, StreamingContext)

Initializes a new instance of the UnrecognizedJsonRpcMessageException class.

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)

Parameters

info
SerializationInfo

Serialization info.

context
StreamingContext

Streaming context.

Applies to

UnrecognizedJsonRpcMessageException(String, Exception)

Initializes a new instance of the UnrecognizedJsonRpcMessageException class.

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

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Applies to