BatchedJoinBlock<T1,T2> 构造函数

定义

重载

BatchedJoinBlock<T1,T2>(Int32)

初始化指定配置的新 BatchedJoinBlock<T1,T2>

BatchedJoinBlock<T1,T2>(Int32, GroupingDataflowBlockOptions)

初始化指定配置的新 BatchedJoinBlock<T1,T2>

BatchedJoinBlock<T1,T2>(Int32)

初始化指定配置的新 BatchedJoinBlock<T1,T2>

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)

参数

batchSize
Int32

分组为批的项数。

例外

batchSize 必须是正数。

适用于

BatchedJoinBlock<T1,T2>(Int32, GroupingDataflowBlockOptions)

初始化指定配置的新 BatchedJoinBlock<T1,T2>

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)

参数

batchSize
Int32

分组为批的项数。

dataflowBlockOptions
GroupingDataflowBlockOptions

用来配置此 BatchedJoinBlock<T1,T2>的选项。

例外

dataflowBlockOptionsnull

batchSize 小于一。

适用于