Partager via


LifecycleSubject.OnStart(CancellationToken) Méthode

Définition

Gérer les notifications de démarrage.

public virtual System.Threading.Tasks.Task OnStart (System.Threading.CancellationToken ct);
public virtual System.Threading.Tasks.Task OnStart (System.Threading.CancellationToken cancellationToken = default);
abstract member OnStart : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnStart : System.Threading.CancellationToken -> System.Threading.Tasks.Task
abstract member OnStart : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnStart : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function OnStart (ct As CancellationToken) As Task
Public Overridable Function OnStart (Optional cancellationToken As CancellationToken = Nothing) As Task

Paramètres

ctcancellationToken
CancellationToken

Retours

Task qui représente l’opération.

Implémente

S’applique à