ServiceJsonRpcDescriptor.CreateConnection(JsonRpc) Method

Definition

Initializes a new instance of a ServiceJsonRpcDescriptor.JsonRpcConnection or derived type.

protected:
 virtual Microsoft::ServiceHub::Framework::ServiceJsonRpcDescriptor::JsonRpcConnection ^ CreateConnection(StreamJsonRpc::JsonRpc ^ jsonRpc);
protected virtual Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.JsonRpcConnection CreateConnection (StreamJsonRpc.JsonRpc jsonRpc);
protected internal virtual Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.JsonRpcConnection CreateConnection (StreamJsonRpc.JsonRpc jsonRpc);
abstract member CreateConnection : StreamJsonRpc.JsonRpc -> Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.JsonRpcConnection
override this.CreateConnection : StreamJsonRpc.JsonRpc -> Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.JsonRpcConnection
Protected Overridable Function CreateConnection (jsonRpc As JsonRpc) As ServiceJsonRpcDescriptor.JsonRpcConnection
Protected Friend Overridable Function CreateConnection (jsonRpc As JsonRpc) As ServiceJsonRpcDescriptor.JsonRpcConnection

Parameters

jsonRpc
JsonRpc

The JsonRpc object that will have to be passed to ServiceJsonRpcDescriptor.JsonRpcConnection(JsonRpc).

Returns

The new instance of ServiceJsonRpcDescriptor.JsonRpcConnection.

Applies to