語言

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 為負數。

適用於