MessageConsumer.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:
abstract System::Threading::Tasks::ValueTask ProcessingStepAsync(System::Threading::CancellationToken cancellationToken);
protected abstract System.Threading.Tasks.ValueTask ProcessingStepAsync(System.Threading.CancellationToken cancellationToken);
abstract member ProcessingStepAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Protected MustOverride Function ProcessingStepAsync (cancellationToken As CancellationToken) As ValueTask
Parameters
- cancellationToken
- CancellationToken
The cancellation token for the processing step.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.