共用方式為


Channel.CreateUnbounded 方法

定義

多載

CreateUnbounded<T>()

建立未繫結的通道,可供任何數目的讀取器和寫入器並行使用。

CreateUnbounded<T>(UnboundedChannelOptions)

建立受限於提供之選項的未繫結通道。

CreateUnbounded<T>()

來源:
Channel.cs
來源:
Channel.cs
來源:
Channel.cs

建立未繫結的通道,可供任何數目的讀取器和寫入器並行使用。

public:
generic <typename T>
 static System::Threading::Channels::Channel<T> ^ CreateUnbounded();
public static System.Threading.Channels.Channel<T> CreateUnbounded<T> ();
static member CreateUnbounded : unit -> System.Threading.Channels.Channel<'T>
Public Shared Function CreateUnbounded(Of T) () As Channel(Of T)

類型參數

T

通道中的資料類型。

傳回

建立的通道。

適用於

CreateUnbounded<T>(UnboundedChannelOptions)

來源:
Channel.cs
來源:
Channel.cs
來源:
Channel.cs

建立受限於提供之選項的未繫結通道。

public:
generic <typename T>
 static System::Threading::Channels::Channel<T> ^ CreateUnbounded(System::Threading::Channels::UnboundedChannelOptions ^ options);
public static System.Threading.Channels.Channel<T> CreateUnbounded<T> (System.Threading.Channels.UnboundedChannelOptions options);
static member CreateUnbounded : System.Threading.Channels.UnboundedChannelOptions -> System.Threading.Channels.Channel<'T>
Public Shared Function CreateUnbounded(Of T) (options As UnboundedChannelOptions) As Channel(Of T)

類型參數

T

指定通道中的資料類型。

參數

options
UnboundedChannelOptions

指導通道行為的選項。

傳回

建立的通道。

適用於