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

有限通道可能会存储的最大项数。

适用于