DataflowBlockOptions.BoundedCapacity 屬性

定義

接收或設定該區塊可緩衝的最大訊息數量。

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

屬性值

訊息數量最多。 預設值為 -1,表示訊息數量無限。

適用於