Επεξεργασία

Κοινή χρήση μέσω


BatchBlock<T>.BatchSize Property

Definition

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

public:
 property int BatchSize { int get(); };
public int BatchSize { get; }
member this.BatchSize : int
Public ReadOnly Property BatchSize As Integer

Property Value

The batch size.

Remarks

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.

Applies to