TransformManyBlock<TInput,TOutput>.TryReceiveAll Yöntem

Tanım

öğesinden IReceivableSourceBlock<TOutput>tüm kullanılabilir öğeleri zaman uyumlu olarak almaya çalışır.

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

Parametreler

items
IList<TOutput>

Kaynaktan alınan öğeler.

Döndürülenler

true bir veya daha fazla öğe alınabiliyorsa; aksi takdirde , false.

Uygulamalar

Açıklamalar

Bu yöntem, kaynağın bir öğe sağlamasını beklemeyi engellemez.

Bir öğenin kullanılabilir olup olmadığını denetledikten sonra geri döner.

Şunlara uygulanır