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 值。

適用於