Delen via


DelegatingServiceJsonRpcDescriptor.CreateJsonRpc Method

Definition

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.

Applies to