BatchedJoinBlock<T1,T2> 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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>的选项。
例外
dataflowBlockOptions
为 null
。
batchSize
小于一。