ExceptionProcessing Enum
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.
Enumerates the exception handling behaviors that are built into the JsonRpc class.
public enum ExceptionProcessing
type ExceptionProcessing =
Public Enum ExceptionProcessing
- Inheritance
-
ExceptionProcessing
Fields
Name | Value | Description |
---|---|---|
CommonErrorData | 0 | Exceptions thrown by the server are serialized as the simple CommonErrorData class and the default error code is InvocationError. The client experiences a RemoteInvocationException whose DeserializedErrorData property is the deserialized CommonErrorData. |
ISerializable | 1 | Exceptions thrown by the server are serialized via the ISerializable mechanism and captures more detail, using the error code InvocationErrorWithException. These are deserialized with the original exception types as inner exceptions of the RemoteInvocationException thrown at the client. The DeserializedErrorData is also set to an instance of CommonErrorData that resembles the inner exception tree. |