MessageFormatterDuplexPipeTracker.GetPipeWriter 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.
Overloads
GetPipeWriter(Nullable<Int32>) |
Obsolete.
Creates a PipeWriter from a given token as it is received at the RPC server as a method argument. |
GetPipeWriter(Nullable<UInt64>) |
Creates a PipeWriter from a given token as it is received at the RPC server as a method argument. |
GetPipeWriter(Nullable<Int32>)
Caution
Use GetPipeWriter(ulong?) instead.
Creates a PipeWriter from a given token as it is received at the RPC server as a method argument.
public System.IO.Pipelines.PipeWriter GetPipeWriter (int? token);
public System.IO.Pipelines.PipeWriter? GetPipeWriter (int? token);
[System.Obsolete("Use GetPipeWriter(ulong?) instead.")]
public System.IO.Pipelines.PipeWriter? GetPipeWriter (int? token);
member this.GetPipeWriter : Nullable<int> -> System.IO.Pipelines.PipeWriter
[<System.Obsolete("Use GetPipeWriter(ulong?) instead.")>]
member this.GetPipeWriter : Nullable<int> -> System.IO.Pipelines.PipeWriter
Public Function GetPipeWriter (token As Nullable(Of Integer)) As PipeWriter
Parameters
The method argument, which was originally obtained by the client using the GetToken(IDuplexPipe) method.
Returns
The PipeWriter 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
GetPipeWriter(Nullable<UInt64>)
Creates a PipeWriter from a given token as it is received at the RPC server as a method argument.
public System.IO.Pipelines.PipeWriter? GetPipeWriter (ulong? token);
member this.GetPipeWriter : Nullable<uint64> -> System.IO.Pipelines.PipeWriter
Public Function GetPipeWriter (token As Nullable(Of ULong)) As PipeWriter
Parameters
The method argument, which was originally obtained by the client using the GetToken(IDuplexPipe) method.
Returns
The PipeWriter 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.