共用方式為


WebEventCodes.ApplicationShutdownChangeInGlobalAsax 欄位

定義

表示事件代碼,表示 Global.asax 檔案已變更。 這個欄位為常數。

public: int ApplicationShutdownChangeInGlobalAsax = 50003;
public const int ApplicationShutdownChangeInGlobalAsax = 50003;
val mutable ApplicationShutdownChangeInGlobalAsax : int
Public Const ApplicationShutdownChangeInGlobalAsax As Integer  = 50003

欄位值

Value = 50003

備註

ApplicationShutdownChangeInGlobalAsax 是指定關機原因的詳細資料代碼。

當 Global.asax 檔案變更時,ASP.NET 會以 的主要程式碼 ApplicationShutdown 和 的詳細代碼 ApplicationShutdownChangeInGlobalAsax 引發 WebApplicationLifetimeEvent

適用於

另請參閱