Compartir a través de


ServiceJsonRpcDescriptor.CreateJsonRpc(IJsonRpcMessageHandler) Method

Definition

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.

Applies to