BatchedJoinBlock<T1,T2,T3>.TryReceiveAll Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Tentativas de receber síncronicamente todos os itens disponíveis do IReceivableSourceBlock<TOutput>.
public:
virtual bool TryReceiveAll([Runtime::InteropServices::Out] System::Collections::Generic::IList<Tuple<System::Collections::Generic::IList<T1> ^, System::Collections::Generic::IList<T2> ^, System::Collections::Generic::IList<T3> ^> ^> ^ % items);
public bool TryReceiveAll(out System.Collections.Generic.IList<Tuple<System.Collections.Generic.IList<T1>,System.Collections.Generic.IList<T2>,System.Collections.Generic.IList<T3>>> items);
public bool TryReceiveAll(out System.Collections.Generic.IList<Tuple<System.Collections.Generic.IList<T1>,System.Collections.Generic.IList<T2>,System.Collections.Generic.IList<T3>>>? 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), IList(Of T3)))) As Boolean
Parâmetros
Devoluções
true se um ou mais itens pudessem ser recebidos; caso contrário, false.
Observações
Este método não bloqueia a espera que a fonte forneça um item.
Ele retorna após verificar se há elementos, se um elemento estava disponível ou não.