ServiceJsonRpcDescriptor.ConstructRpcConnection(IDuplexPipe) 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.
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.