Upraviť

Zdieľať cez


WebEventCodes.ApplicationShutdownHostingEnvironment Field

Definition

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

public: int ApplicationShutdownHostingEnvironment = 50002;
public const int ApplicationShutdownHostingEnvironment = 50002;
val mutable ApplicationShutdownHostingEnvironment : int
Public Const ApplicationShutdownHostingEnvironment As Integer  = 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

See also