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 提供給建構函式,則會擲回 。