JoinBlock<T1,T2>.TryReceiveAll(IList<Tuple<T1,T2>>) メソッド

定義

IReceivableSourceBlock<TOutput>から使用可能なすべての項目を同期的に受信しようとします。

public:
 virtual bool TryReceiveAll([Runtime::InteropServices::Out] System::Collections::Generic::IList<Tuple<T1, T2> ^> ^ % items);
public bool TryReceiveAll(out System.Collections.Generic.IList<Tuple<T1,T2>> items);
public bool TryReceiveAll(out System.Collections.Generic.IList<Tuple<T1,T2>>? items);
abstract member TryReceiveAll : IList -> bool
override this.TryReceiveAll : IList -> bool
Public Function TryReceiveAll (ByRef items As IList(Of Tuple(Of T1, T2))) As Boolean

パラメーター

items
IList<Tuple<T1,T2>>

ソースから受信したアイテム。

返品

true 1 つ以上のアイテムを受信できる場合。それ以外の場合は false

注釈

このメソッドは、ソースが項目を提供するのを待機することをブロックしません。

要素が使用可能であったかどうか、要素をチェックした後に返されます。

適用対象