BatchedJoinBlock<T1,T2>.TryReceiveAll Método

Definición

Intentos de recibir sincrónicamente todos los elementos disponibles de IReceivableSourceBlock<TOutput>.

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

Parámetros

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

Elementos recibidos del origen.

Devoluciones

Boolean

Es true si se podían recibir uno o más elementos; de lo contrario, es false.

Comentarios

Este método no bloquea la espera de que el origen proporcione un elemento.

Se devolverá después de comprobar si hay elementos, independientemente de si un elemento estaba disponible o no.

Se aplica a