RpcArgumentDeserializationException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The 0-based index of the argument from the JSON-RPC request that failed to deserialize, if available.
- 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.