ServiceJsonRpcDescriptor.WithExceptionStrategy(ExceptionProcessing) Method
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.
Returns an instance of ServiceJsonRpcDescriptor that resembles this one, but with the ExceptionStrategy property set to a new value.
public:
Microsoft::ServiceHub::Framework::ServiceJsonRpcDescriptor ^ WithExceptionStrategy(StreamJsonRpc::ExceptionProcessing exceptionStrategy);
public Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor WithExceptionStrategy (StreamJsonRpc.ExceptionProcessing exceptionStrategy);
member this.WithExceptionStrategy : StreamJsonRpc.ExceptionProcessing -> Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor
Public Function WithExceptionStrategy (exceptionStrategy As ExceptionProcessing) As ServiceJsonRpcDescriptor
Parameters
- exceptionStrategy
- ExceptionProcessing
The new value for the ExceptionStrategy property.
Returns
A clone of this instance, with the property changed. Or this same instance if the property already matches.