Share via


RpcArgumentDeserializationException Constructors

Definition

Overloads

RpcArgumentDeserializationException(String)

Initializes a new instance of the RpcArgumentDeserializationException class.

RpcArgumentDeserializationException(SerializationInfo, StreamingContext)

Initializes a new instance of the RpcArgumentDeserializationException class.

RpcArgumentDeserializationException(String, Exception)

Initializes a new instance of the RpcArgumentDeserializationException class.

RpcArgumentDeserializationException(String, Nullable<Int32>, Type, Exception)

Initializes a new instance of the RpcArgumentDeserializationException class.

RpcArgumentDeserializationException(String)

Initializes a new instance of the RpcArgumentDeserializationException class.

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

Parameters

message
String

Applies to

RpcArgumentDeserializationException(SerializationInfo, StreamingContext)

Initializes a new instance of the RpcArgumentDeserializationException class.

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

Parameters

info
SerializationInfo

Serialization info.

context
StreamingContext

Serialization context.

Applies to

RpcArgumentDeserializationException(String, Exception)

Initializes a new instance of the RpcArgumentDeserializationException class.

public RpcArgumentDeserializationException (string message, Exception? innerException);
new StreamJsonRpc.RpcArgumentDeserializationException : string * Exception -> StreamJsonRpc.RpcArgumentDeserializationException
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

RpcArgumentDeserializationException(String, Nullable<Int32>, Type, Exception)

Initializes a new instance of the RpcArgumentDeserializationException class.

public RpcArgumentDeserializationException (string? argumentName, int? argumentPosition, Type? deserializedType, Exception? innerException);
new StreamJsonRpc.RpcArgumentDeserializationException : string * Nullable<int> * Type * Exception -> StreamJsonRpc.RpcArgumentDeserializationException
Public Sub New (argumentName As String, argumentPosition As Nullable(Of Integer), deserializedType As Type, innerException As Exception)

Parameters

argumentName
String

The name of the argument from the JSON-RPC request that failed to deserialize, if available.

argumentPosition
Nullable<Int32>

The 0-based index of the argument from the JSON-RPC request that failed to deserialize, if available.

deserializedType
Type

The Type to which deserialization of the argument was attempted.

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