Share via


MessageFormatterDuplexPipeTracker.GetPipeReader Method

Definition

Overloads

GetPipeReader(Nullable<Int32>)
Obsolete.

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

GetPipeReader(Nullable<UInt64>)

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

GetPipeReader(Nullable<Int32>)

Caution

Use GetPipeReader(ulong?) instead.

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

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

Parameters

token
Nullable<Int32>

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

Returns

The PipeReader 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

GetPipeReader(Nullable<UInt64>)

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

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

Parameters

token
Nullable<UInt64>

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

Returns

The PipeReader 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