共用方式為


Channel 類別

定義

提供用於建立通道的靜態方法。

public ref class Channel abstract sealed
public static class Channel
type Channel = class
Public Class Channel
繼承
Channel

方法

CreateBounded<T>(BoundedChannelOptions)

建立具有指定之容量上限的通道。

CreateBounded<T>(BoundedChannelOptions, Action<T>)

建立受限於所提供選項的通道。

CreateBounded<T>(Int32)

建立具有指定之容量上限的通道。

CreateUnbounded<T>()

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

CreateUnbounded<T>(UnboundedChannelOptions)

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

適用於