BuildManagerHostUnloadEventArgs::Reason Property

 

Gets the reason the hosted application domain was shut down.

Namespace:   System.Web.Compilation
Assembly:  System.Web (in System.Web.dll)

public:
property ApplicationShutdownReason Reason {
	ApplicationShutdownReason get();
}

Property Value

Type: System.Web::ApplicationShutdownReason

One of the ApplicationShutdownReason enumerated values.

The Reason property stores an ApplicationShutdownReason object as its value that describes why the AppDomain instance was shut down.

.NET Framework
Available since 2.0
Return to top
Show: