DelegatingServiceJsonRpcDescriptor.CreateJsonRpc 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.
Initializes a new instance of JsonRpc for use in a new server or client.
protected internal override StreamJsonRpc.JsonRpc CreateJsonRpc (StreamJsonRpc.IJsonRpcMessageHandler handler);
override this.CreateJsonRpc : StreamJsonRpc.IJsonRpcMessageHandler -> StreamJsonRpc.JsonRpc
Protected Friend Overrides Function CreateJsonRpc (handler As IJsonRpcMessageHandler) As JsonRpc
Parameters
- handler
- IJsonRpcMessageHandler
The message handler that the JsonRpc instance should use.
Returns
The new JsonRpc.