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+45c8d9adb5970d727cceec44a5ed61aea0016e50
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