LifecycleSubject.OnStart(CancellationToken) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Gestire le notifiche di avvio.
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
Parametri
- ctcancellationToken
- CancellationToken
Restituisce
Oggetto Task che rappresenta l'operazione.