共用方式為


BoundedChannelOptions(Int32) 建構函式

定義

將選項始化。

public:
 BoundedChannelOptions(int capacity);
public BoundedChannelOptions (int capacity);
new System.Threading.Channels.BoundedChannelOptions : int -> System.Threading.Channels.BoundedChannelOptions
Public Sub New (capacity As Integer)

參數

capacity
Int32

繫結之通道可能儲存的項目數上限。

適用於