Share via


MessageFormatterDuplexPipeTracker.GetPipe Method

Definition

Overloads

GetPipe(Nullable<Int32>)
Obsolete.

Creates an IDuplexPipe from a given token as it is received at the RPC server as a method argument.

GetPipe(Nullable<UInt64>)

Creates an IDuplexPipe from a given token as it is received at the RPC server as a method argument.

GetPipe(Nullable<Int32>)

Caution

Use GetPipe(ulong?) instead.

Creates an IDuplexPipe from a given token as it is received at the RPC server as a method argument.

public System.IO.Pipelines.IDuplexPipe GetPipe (int? token);
public System.IO.Pipelines.IDuplexPipe? GetPipe (int? token);
[System.Obsolete("Use GetPipe(ulong?) instead.")]
public System.IO.Pipelines.IDuplexPipe? GetPipe (int? token);
member this.GetPipe : Nullable<int> -> System.IO.Pipelines.IDuplexPipe
[<System.Obsolete("Use GetPipe(ulong?) instead.")>]
member this.GetPipe : Nullable<int> -> System.IO.Pipelines.IDuplexPipe
Public Function GetPipe (token As Nullable(Of Integer)) As IDuplexPipe

Parameters

token
Nullable<Int32>

The method argument, which was originally obtained by the client using the GetToken(IDuplexPipe) method.

Returns

The IDuplexPipe from the token; or null if token was null.

Attributes

Exceptions

Thrown if the token does not match up with an out of band channel offered by the client.

Thrown if no MultiplexingStream was provided to the constructor.

Applies to

GetPipe(Nullable<UInt64>)

Creates an IDuplexPipe from a given token as it is received at the RPC server as a method argument.

public System.IO.Pipelines.IDuplexPipe? GetPipe (ulong? token);
member this.GetPipe : Nullable<uint64> -> System.IO.Pipelines.IDuplexPipe
Public Function GetPipe (token As Nullable(Of ULong)) As IDuplexPipe

Parameters

token
Nullable<UInt64>

The method argument, which was originally obtained by the client using the GetToken(IDuplexPipe) method.

Returns

The IDuplexPipe from the token; or null if token was null.

Exceptions

Thrown if the token does not match up with an out of band channel offered by the client.

Thrown if no MultiplexingStream was provided to the constructor.

Applies to