MessageConsumer.ExecuteAsync(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.
Start processing the messages.
public:
virtual System::Threading::Tasks::ValueTask ExecuteAsync(System::Threading::CancellationToken cancellationToken);
public virtual System.Threading.Tasks.ValueTask ExecuteAsync(System.Threading.CancellationToken cancellationToken);
abstract member ExecuteAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
override this.ExecuteAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Public Overridable Function ExecuteAsync (cancellationToken As CancellationToken) As ValueTask
Parameters
- cancellationToken
- CancellationToken
The cancellation token to stop processing messages.