语言

MessageFormatterDuplexPipeTracker.GetPipeWriter 方法

定义

重载

名称 说明
GetPipeWriter(Nullable<Int32>)
已过时.

从给定令牌创建一个 PipeWriter ,因为它作为方法参数在 RPC 服务器上接收。

GetPipeWriter(Nullable<UInt64>)

从给定令牌创建一个 PipeWriter ,因为它作为方法参数在 RPC 服务器上接收。

GetPipeWriter(Nullable<Int32>)

Source:
MessageFormatterDuplexPipeTracker.cs
Source:
MessageFormatterDuplexPipeTracker.cs
Source:
MessageFormatterDuplexPipeTracker.cs
Source:
MessageFormatterDuplexPipeTracker.cs

注意

Use GetPipeWriter(ulong?) instead.

从给定令牌创建一个 PipeWriter ,因为它作为方法参数在 RPC 服务器上接收。

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

参数

token
Nullable<Int32>

方法参数,最初由客户端使用 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

参数

token
Nullable<UInt64>

方法参数,最初由客户端使用 GetToken(IDuplexPipe) 该方法获取。

返回

令牌中的值 PipeWriter ;或者 null 如果 token 为 null。

例外

如果令牌与客户端提供的带外通道不匹配,则引发此令牌。

如果未向构造函数提供, MultiplexingStream 则引发。

适用于