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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.