BaseMessageConsumer.ProcessingStepAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents processing steps for message(s).
protected:
virtual System::Threading::Tasks::ValueTask ProcessingStepAsync(System::Threading::CancellationToken cancellationToken);
protected virtual System.Threading.Tasks.ValueTask ProcessingStepAsync(System.Threading.CancellationToken cancellationToken);
abstract member ProcessingStepAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
override this.ProcessingStepAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Protected Overridable Function ProcessingStepAsync (cancellationToken As CancellationToken) As ValueTask
Parameters
- cancellationToken
- CancellationToken
Returns
Remarks
Different implementation of the consumer can override this method and execute the FetchAndProcessMessageAsync(CancellationToken) in parallel or in any other way using Task Parallel Library (TPL) / DataFlow or any other abstractions.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.