WebEventCodes.ApplicationShutdownHostingEnvironment Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 = 50002Remarks
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.