IReceivableSourceBlock<TOutput>.TryReceiveAll メソッド

定義

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

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

パラメーター

items
IList<TOutput>

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

返品

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

注釈

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

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

適用対象