WebEventCodes.ApplicationShutdownHostingEnvironment 字段

定义

表示的是指示宿主环境正在关闭的事件代码。 此字段为常数。

public: int ApplicationShutdownHostingEnvironment = 50002;
public const int ApplicationShutdownHostingEnvironment = 50002;
val mutable ApplicationShutdownHostingEnvironment : int
Public Const ApplicationShutdownHostingEnvironment As Integer  = 50002

字段值

Value = 50002

注解

ApplicationShutdownHostingEnvironment是指定关闭原因的详细信息代码。

当宿主环境关闭时,ASP.NET 会引发 WebApplicationLifetimeEvent 具有 主要代码 ApplicationShutdown 和详细代码的 ApplicationShutdownHostingEnvironment

适用于

另请参阅