Share via


IHostedLifecycleService.StartedAsync(CancellationToken) Méthode

Définition

Déclenché après StartAsync(CancellationToken).

public:
 System::Threading::Tasks::Task ^ StartedAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task StartedAsync (System.Threading.CancellationToken cancellationToken);
abstract member StartedAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function StartedAsync (cancellationToken As CancellationToken) As Task

Paramètres

cancellationToken
CancellationToken

Indique que le processus de démarrage a été abandonné.

Retours

Task qui représente l'opération asynchrone.

Exceptions

Le jeton d’annulation a été annulé. Cette exception est stockée dans la tâche retournée.

S’applique à