JsonRpc.ExceptionStrategy Property
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.
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.