共用方式為


WebEventCodes.ApplicationShutdown 欄位

定義

表示事件代碼,表示應用程式已關閉。 這個欄位為常數。

public: int ApplicationShutdown = 1002;
public const int ApplicationShutdown = 1002;
val mutable ApplicationShutdown : int
Public Const ApplicationShutdown As Integer  = 1002

欄位值

Value = 1002

備註

ApplicationShutdown 是主要程式碼,其值大於 ApplicationCodeBase 。 ASP.NET 會在應用程式關閉時引發相關 WebApplicationLifetimeEvent 事件。

適用於

另請參閱