Condividi tramite


LifecycleSubject.OnStop(CancellationToken) Metodo

Definizione

Gestire le notifiche di arresto.

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

Parametri

ctcancellationToken
CancellationToken

Restituisce

Oggetto Task che rappresenta l'operazione.

Implementazioni

Si applica a