BatchBlock<T> Konstruktoren

Definition

Überlädt

Name Beschreibung
BatchBlock<T>(Int32)

Initialisiert ein neues BatchBlock<T> mit der angegebenen Batchgröße.

BatchBlock<T>(Int32, GroupingDataflowBlockOptions)

Initialisiert ein neues BatchBlock<T> mit der angegebenen Batchgröße, der degressierenden Option und den Blockoptionen.

BatchBlock<T>(Int32)

Quelle:
BatchBlock.cs
Quelle:
BatchBlock.cs
Quelle:
BatchBlock.cs
Quelle:
BatchBlock.cs
Quelle:
BatchBlock.cs
Quelle:
BatchBlock.cs
Quelle:
BatchBlock.cs

Initialisiert ein neues BatchBlock<T> mit der angegebenen Batchgröße.

public:
 BatchBlock(int batchSize);
public BatchBlock(int batchSize);
new System.Threading.Tasks.Dataflow.BatchBlock<'T> : int -> System.Threading.Tasks.Dataflow.BatchBlock<'T>
Public Sub New (batchSize As Integer)

Parameter

batchSize
Int32

Die Anzahl der Elemente, die in einem Batch gruppiert werden sollen.

Ausnahmen

Das batchSize muss positiv sein.

Gilt für:

BatchBlock<T>(Int32, GroupingDataflowBlockOptions)

Quelle:
BatchBlock.cs
Quelle:
BatchBlock.cs
Quelle:
BatchBlock.cs
Quelle:
BatchBlock.cs
Quelle:
BatchBlock.cs
Quelle:
BatchBlock.cs
Quelle:
BatchBlock.cs

Initialisiert ein neues BatchBlock<T> mit der angegebenen Batchgröße, der degressierenden Option und den Blockoptionen.

public:
 BatchBlock(int batchSize, System::Threading::Tasks::Dataflow::GroupingDataflowBlockOptions ^ dataflowBlockOptions);
public BatchBlock(int batchSize, System.Threading.Tasks.Dataflow.GroupingDataflowBlockOptions dataflowBlockOptions);
new System.Threading.Tasks.Dataflow.BatchBlock<'T> : int * System.Threading.Tasks.Dataflow.GroupingDataflowBlockOptions -> System.Threading.Tasks.Dataflow.BatchBlock<'T>
Public Sub New (batchSize As Integer, dataflowBlockOptions As GroupingDataflowBlockOptions)

Parameter

batchSize
Int32

Die Anzahl der Elemente, die in einem Batch gruppiert werden sollen.

dataflowBlockOptions
GroupingDataflowBlockOptions

Die Optionen, mit denen Dies konfiguriert BatchBlock<T>werden soll.

Ausnahmen

Das batchSize muss positiv sein.

-oder-

Der batchSize Wert muss kleiner als der Wert der BoundedCapacity Option sein, wenn ein Nicht-Standardwert festgelegt wurde.

dataflowBlockOptions ist null.

Gilt für: