共用方式為


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 小於一。

適用於