ServiceJsonRpcDescriptor.CreateJsonRpc(IJsonRpcMessageHandler) 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:
virtual StreamJsonRpc::JsonRpc ^ CreateJsonRpc(StreamJsonRpc::IJsonRpcMessageHandler ^ handler);
protected virtual StreamJsonRpc.JsonRpc CreateJsonRpc (StreamJsonRpc.IJsonRpcMessageHandler handler);
protected internal virtual StreamJsonRpc.JsonRpc CreateJsonRpc (StreamJsonRpc.IJsonRpcMessageHandler handler);
abstract member CreateJsonRpc : StreamJsonRpc.IJsonRpcMessageHandler -> StreamJsonRpc.JsonRpc
override this.CreateJsonRpc : StreamJsonRpc.IJsonRpcMessageHandler -> StreamJsonRpc.JsonRpc
Protected Overridable Function CreateJsonRpc (handler As IJsonRpcMessageHandler) As JsonRpc
Protected Friend Overridable Function CreateJsonRpc (handler As IJsonRpcMessageHandler) As JsonRpc
Parameters
- handler
- IJsonRpcMessageHandler
The message handler that the JsonRpc instance should use.
Returns
The new JsonRpc.