MessageFormatterDuplexPipeTracker.GetPipeWriter 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetPipeWriter(Nullable<Int32>) |
已过时.
从给定令牌创建一个 PipeWriter ,因为它作为方法参数在 RPC 服务器上接收。 |
GetPipeWriter(Nullable<UInt64>) |
从给定令牌创建一个 PipeWriter ,因为它作为方法参数在 RPC 服务器上接收。 |
GetPipeWriter(Nullable<Int32>)
注意
Use GetPipeWriter(ulong?) instead.
从给定令牌创建一个 PipeWriter ,因为它作为方法参数在 RPC 服务器上接收。
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
参数
方法参数,最初由客户端使用 GetToken(IDuplexPipe) 该方法获取。
返回
令牌中的值PipeWriter;如果null
token
为 null
。
- 属性
例外
如果令牌与客户端提供的带外通道不匹配,则引发此令牌。
如果未向构造函数提供, MultiplexingStream 则引发。
适用于
GetPipeWriter(Nullable<UInt64>)
从给定令牌创建一个 PipeWriter ,因为它作为方法参数在 RPC 服务器上接收。
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
参数
方法参数,最初由客户端使用 GetToken(IDuplexPipe) 该方法获取。
返回
令牌中的值PipeWriter;如果null
token
为 null
。
例外
如果令牌与客户端提供的带外通道不匹配,则引发此令牌。
如果未向构造函数提供, MultiplexingStream 则引发。