BatchBlock<T>.BatchSize Propriedade

Definição

Obtém o tamanho dos lotes gerados por este BatchBlock<T>.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

Valor da propriedade

Int32

O tamanho do lote.The batch size.

Comentários

Se o número de itens fornecidos ao bloco não for divisível igualmente pelo tamanho do lote fornecido ao construtor do bloco, o lote final do bloco poderá conter menos do que o número solicitado de itens.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.

Aplica-se a