TransformManyBlock<TInput,TOutput>.TryReceiveAll(IList<TOutput>) Método
Definição
Tentativas de receber assincronamente todos os itens disponíveis do IReceivableSourceBlock<TOutput>.Attempts to synchronously receive all available items from the IReceivableSourceBlock<TOutput>.
public:
virtual bool TryReceiveAll([Runtime::InteropServices::Out] System::Collections::Generic::IList<TOutput> ^ % items);
public bool TryReceiveAll (out System.Collections.Generic.IList<TOutput> items);
public bool TryReceiveAll (out System.Collections.Generic.IList<TOutput>? items);
abstract member TryReceiveAll : IList -> bool
override this.TryReceiveAll : IList -> bool
Public Function TryReceiveAll (ByRef items As IList(Of TOutput)) As Boolean
Parâmetros
- items
- IList<TOutput>
Os itens recebidos da origem.The items received from the source.
Retornos
true se foi possível receber um ou mais itens; caso contrário, false.true if one or more items could be received; otherwise, false.
Implementações
Comentários
Esse método não bloqueia a espera pela origem para fornecer um item.This method does not block waiting for the source to provide an item.
Ela retornará após a verificação de elementos, independentemente de um elemento estar ou não disponível.It will return after checking for elements, whether or not an element was available.