Condividi tramite


ServiceJsonRpcDescriptor.ConstructRpcConnection(IDuplexPipe) Method

Definition

Establishes an RPC connection over an IDuplexPipe.

public:
 override Microsoft::ServiceHub::Framework::ServiceRpcDescriptor::RpcConnection ^ ConstructRpcConnection(System::IO::Pipelines::IDuplexPipe ^ pipe);
public override Microsoft.ServiceHub.Framework.ServiceRpcDescriptor.RpcConnection ConstructRpcConnection (System.IO.Pipelines.IDuplexPipe pipe);
override this.ConstructRpcConnection : System.IO.Pipelines.IDuplexPipe -> Microsoft.ServiceHub.Framework.ServiceRpcDescriptor.RpcConnection
Public Overrides Function ConstructRpcConnection (pipe As IDuplexPipe) As ServiceRpcDescriptor.RpcConnection

Parameters

pipe
IDuplexPipe

The pipe used to send and receive RPC messages.

Returns

An object representing the lifetime of the connection.

Applies to