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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET