Freigeben über


ILifecycleObserver.OnStop(CancellationToken) Methode

Definition

Behandeln sie Stoppbenachrichtigungen.

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

Parameter

ctcancellationToken
CancellationToken

Gibt zurück

Eine Task , die den Vorgang darstellt.

Gilt für: