语言

BoundedChannelOptions.Capacity 属性

定义

获取或设置绑定通道可以存储的最大项数。

public:
 property int Capacity { int get(); void set(int value); };
public int Capacity { get; set; }
member this.Capacity : int with get, set
Public Property Capacity As Integer

属性值

例外

value 为负数。

适用于