BatchBlock<T> Constructor (Int32)
Initializes a new BatchBlock<T> with the specified batch size.
Assembly: System.Threading.Tasks.Dataflow (in System.Threading.Tasks.Dataflow.dll)
Parameters
- batchSize
-
Type:
System::Int32
The number of items to group into a batch.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The batchSize must be positive. |
Show: