Export (0) Print
Expand All
Expand Minimize

WebEventCodes.ApplicationShutdownHostingEnvironment Field

Represents the event code indicating that the hosting environment is shutting down. This field is constant.

Namespace:  System.Web.Management
Assembly:  System.Web (in System.Web.dll)

public const int ApplicationShutdownHostingEnvironment

The ApplicationShutdownHostingEnvironment is the detail code that specifies the cause of the shutdown.

When the hosting environment is shutting down, ASP.NET raises a WebApplicationLifetimeEvent with a major code of ApplicationShutdown and a detail code of ApplicationShutdownHostingEnvironment.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft