Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

JsonRpc.ExceptionStrategy Property

Definition

Namespace:
StreamJsonRpc
Assembly:
StreamJsonRpc.dll
Package:
streamjsonrpc v2.10.44
Package:
streamjsonrpc v2.11.35
Package:
streamjsonrpc v2.12.27
Package:
streamjsonrpc v2.13.33
Package:
streamjsonrpc v2.14.24
Package:
streamjsonrpc v2.15.29
Package:
streamjsonrpc v2.16.36
Package:
streamjsonrpc v2.17.11
Package:
streamjsonrpc v2.18.48
Package:
streamjsonrpc v2.19.27
Package:
streamjsonrpc v2.20.20
Package:
streamjsonrpc v2.21.10
Package:
streamjsonrpc v2.7.76
Package:
streamjsonrpc v2.8.28
Package:
streamjsonrpc v2.9.85

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.

Applies to