System.Web.Management.WebEventCodes.ApplicationShutdownHostingEnvironment Field

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

Value: 50002

Syntax

public const int ApplicationShutdownHostingEnvironment

Remarks

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

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

Requirements

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