共用方式為


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 會以 的主要程式碼 ApplicationShutdown 和 的詳細代碼 ApplicationShutdownHostingEnvironment 引發 WebApplicationLifetimeEvent

適用於

另請參閱