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.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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