Aracılığıyla paylaş


BatchBlock<T>.TryReceiveAll(IList<T[]>) Yöntem

Tanım

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

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

Parametreler

items
IList<T[]>

Kaynaktan alınan öğeler.

Döndürülenler

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

Açıklamalar

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

Öğe olup olmadığı denetlendikten sonra döndürülecektir.

Şunlara uygulanır