RpcArgumentDeserializationException Class
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.
An exception thrown from TryGetArgumentByNameOrIndex(String, Int32, Type, Object) when the argument cannot be deserialized to the requested type, typically due to an incompatibility or exception thrown from the deserializer.
[System.Serializable]
public class RpcArgumentDeserializationException : StreamJsonRpc.RemoteRpcException
[<System.Serializable>]
type RpcArgumentDeserializationException = class
inherit RemoteRpcException
Public Class RpcArgumentDeserializationException
Inherits RemoteRpcException
- Inheritance
- Attributes
Constructors
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. |
Properties
ArgumentName |
Gets the name of the argument from the JSON-RPC request that failed to deserialize, if available. |
ArgumentPosition |
Gets the 0-based index of the argument from the JSON-RPC request that failed to deserialize, if available. |
DeserializedErrorData |
Gets or sets the |
DeserializedType |
Gets the Type to which deserialization of the argument was attempted. |
ErrorCode |
Gets or sets the value of the |
ErrorData |
Gets or sets the |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Obsolete.
When overridden in a derived class, sets the SerializationInfo with information about the exception. |