Share via


WebHostService.OnStopping Method

Definition

Executes before ASP.NET Core shuts down.

protected:
 virtual void OnStopping();
protected virtual void OnStopping ();
abstract member OnStopping : unit -> unit
override this.OnStopping : unit -> unit
Protected Overridable Sub OnStopping ()

Applies to