QuickAdmin.Net Reference
C#
Show/Hide TOC
Background
Task
On
Task
Started
Async Method
任务成功启动后,
DoWorkAsync(CancellationToken)
前执行的方法。
Definition
Namespace:
QuickAdmin.Service.Background
Assembly:
QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 2.0.13
C#
Copy
protected
virtual
Task
OnTaskStartedAsync
(
CancellationToken
stoppingToken
)
Parameters
stoppingToken
CancellationToken
指示停止的令牌。
Return Value
Task
Remarks
当当前任务是一个调度任务时,可在此进行相关任务启动操作。
See Also
Reference
BackgroundTask Class
QuickAdmin.Service.Background Namespace
In This Article
Definition
Parameters
Return Value
Remarks
See Also