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

Field Value

Type: System.Int32

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
Available since 2.0
Return to top
Show: