Aracılığıyla paylaş


JoinBlock<T1,T2>.TryReceiveAll(IList<Tuple<T1,T2>>) 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<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

Parametreler

items
IList<Tuple<T1,T2>>

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