BatchBlock<T>::BatchSize Property

 

Gets the size of the batches generated by this BatchBlock<T>.

Namespace:   System.Threading.Tasks.Dataflow
Assembly:  System.Threading.Tasks.Dataflow (in System.Threading.Tasks.Dataflow.dll)

public:
property int BatchSize {
	int get();
}

Property Value

Type: System::Int32

The batch size.

If the number of items provided to the block is not evenly divisible by the batch size provided to the block's constructor, the block's final batch may contain fewer than the requested number of items.

Return to top
Show: