DataflowBlockOptions.BoundedCapacity Property

Definition

Gets or sets the maximum number of messages that may be buffered by the block.

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

Property Value

The maximum number of messages. The default is -1, which indicates an unlimited number of messages.

Applies to