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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for