HostingEnvironment.ShutdownReason Property

Definition

Returns an enumerated value that indicates why the application terminated.

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

Property Value

One of the ApplicationShutdownReason values.

Applies to