Editar

Compartir a través de


BatchedJoinBlock<T1,T2> Constructors

Definition

Overloads

BatchedJoinBlock<T1,T2>(Int32)

Initializes a new BatchedJoinBlock<T1,T2> with the specified configuration.

BatchedJoinBlock<T1,T2>(Int32, GroupingDataflowBlockOptions)

Initializes a new BatchedJoinBlock<T1,T2> with the specified configuration.

BatchedJoinBlock<T1,T2>(Int32)

Source:
BatchedJoinBlock.cs
Source:
BatchedJoinBlock.cs
Source:
BatchedJoinBlock.cs
Source:
BatchedJoinBlock.cs

Initializes a new BatchedJoinBlock<T1,T2> with the specified configuration.

public:
 BatchedJoinBlock(int batchSize);
public BatchedJoinBlock (int batchSize);
new System.Threading.Tasks.Dataflow.BatchedJoinBlock<'T1, 'T2> : int -> System.Threading.Tasks.Dataflow.BatchedJoinBlock<'T1, 'T2>
Public Sub New (batchSize As Integer)

Parameters

batchSize
Int32

The number of items to group into a batch.

Exceptions

The batchSize must be positive.

Applies to

BatchedJoinBlock<T1,T2>(Int32, GroupingDataflowBlockOptions)

Source:
BatchedJoinBlock.cs
Source:
BatchedJoinBlock.cs
Source:
BatchedJoinBlock.cs
Source:
BatchedJoinBlock.cs

Initializes a new BatchedJoinBlock<T1,T2> with the specified configuration.

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

Parameters

batchSize
Int32

The number of items to group into a batch.

dataflowBlockOptions
GroupingDataflowBlockOptions

The options with which to configure this BatchedJoinBlock<T1,T2>.

Exceptions

dataflowBlockOptions is null.

batchSize is less than one.

Applies to