ResponseContext.IsShutdownRequested Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets whether the server is shutting down. Handlers can use this to distinguish shutdown from explicit cancel or client disconnect.
public bool IsShutdownRequested { get; set; }
member this.IsShutdownRequested : bool with get, set
Public Property IsShutdownRequested As Boolean