QueueHandlerBaseTExecuteAsync Method

This method is called when the IHostedService starts. The implementation should return a task that represents the lifetime of the long running operation(s) being performed.

Definition

Namespace: MobileTrack.EventHandler.QueueHandlers
Assembly: MobileTrack.EventHandler (in MobileTrack.EventHandler.exe) Version: 0.8+f6fd7a919db8417bc1e7bfd9b2ff9ab9586e296a
protected override Task ExecuteAsync(
	CancellationToken stoppingToken
)

Parameters

stoppingToken  CancellationToken
Triggered when StopAsync(CancellationToken) is called.

Return Value

Task
A Task that represents the long running operations.

Remarks

See Worker Services in .NET for implementation guidelines.

See Also