Share via


JsonRpc.ExceptionStrategy Property

Definition

Gets or sets a value indicating whether exceptions thrown by the RPC server should be fully serialized for the RPC client to then deserialize.

public StreamJsonRpc.ExceptionProcessing ExceptionStrategy { get; set; }
member this.ExceptionStrategy : StreamJsonRpc.ExceptionProcessing with get, set
Public Property ExceptionStrategy As ExceptionProcessing

Property Value

The default value is CommonErrorData.

Remarks

This setting influences the implementations of error processing virtual methods on this class. When those methods are overridden by a derived type, this property may have different or no impact on behavior. This does not alter how LocalRpcException behaves when thrown, since that exception type supplies all the details of the error response directly.

Applies to