HostingEnvironment::ShutdownReason Property
.NET Framework (current version)
Returns an enumerated value that indicates why the application terminated.
Assembly: System.Web (in System.Web.dll)
public: property ApplicationShutdownReason ShutdownReason { static ApplicationShutdownReason get(); }
Property Value
Type: System.Web::ApplicationShutdownReasonOne of the ApplicationShutdownReason values.
.NET Framework
Available since 2.0
Available since 2.0
Show: