ILifecycleObserver.OnStart(CancellationToken) Metodo

Definizione

Gestire le notifiche di avvio.

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

Parametri

ctcancellationToken
CancellationToken

Restituisce

Oggetto Task che rappresenta l'operazione.

Si applica a