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,表示消息数不受限制。

适用于