語言

HostingEnvironment.ShutdownReason 屬性

定義

回傳一個列舉值,說明應用程式終止的原因。

public:
 static property System::Web::ApplicationShutdownReason ShutdownReason { System::Web::ApplicationShutdownReason get(); };
public static System.Web.ApplicationShutdownReason ShutdownReason { get; }
static member ShutdownReason : System.Web.ApplicationShutdownReason
Public Shared ReadOnly Property ShutdownReason As ApplicationShutdownReason

屬性值

這是其中一項 ApplicationShutdownReason 價值。

適用於