HostingEnvironment.ShutdownReason 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回列舉值,表示應用程式結束的原因。
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 值。