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>>

ソースから受信された項目。

戻り値

1 つ以上の項目を受信できた場合は true。それ以外の場合は false

注釈

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

要素が使用可能かどうか、要素を確認した後に が返されます。

適用対象