WebEventCodes.ApplicationShutdownHostingEnvironment Field

Definition

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

C#
public const int ApplicationShutdownHostingEnvironment = 50002;

Field Value

Value = 50002

Remarks

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.

Applies to

Tuote Versiot
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also