BatchedJoinBlock<T1,T2> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.