JoinBlock<T1,T2,T3>.TryReceiveAll Metoda

Definicja

Próbuje synchronicznie odebrać wszystkie dostępne elementy z elementu IReceivableSourceBlock<TOutput>.

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

Parametry

items
IList<Tuple<T1,T2,T3>>

Elementy odebrane ze źródła.

Zwraca

Boolean

true jeśli można odebrać co najmniej jeden element; w przeciwnym razie , false.

Uwagi

Ta metoda nie blokuje oczekiwania na podanie elementu przez źródło.

Zostanie zwrócony po sprawdzeniu elementów, czy element był dostępny.

Dotyczy