TransformManyBlock<TInput,TOutput>.TryReceiveAll メソッド

定義

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

public:
 virtual 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
override this.TryReceiveAll : IList -> bool
Public Function TryReceiveAll (ByRef items As IList(Of TOutput)) As Boolean

パラメーター

items
IList<TOutput>

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

戻り値

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

実装

注釈

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

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

適用対象