Shutdown Reason Enum
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies why the AppDomain class shut down.
public enum class ApplicationShutdownReason
public enum ApplicationShutdownReason
type ApplicationShutdownReason =
Public Enum ApplicationShutdownReason
A change was made to the Bin folder or to files in it.
A change was made to the App_Browsers folder or to files in it.
The compilation system shut the application domain. The BuildManagerChange member is introduced in the .NET Framework version 3.5. For more information, see .NET Framework Versions and Dependencies.
A change was made to the Global.asax file.
A change was made in the code access security policy file.
A change was made to the App_Code folder or to files in it.
A change was made to the application-level configuration file.
The hosting environment shut down the application domain.
A call was made to Close().
The maximum idle time limit was reached.
An AppDomain initialization error occurred.
The maximum number of dynamic recompiles of resources was reached.
No shutdown reason was provided.
A change was made to the physical path of the application.
A change was made to the App_GlobalResources folder or to files in it.
A call was made to UnloadAppDomain().
The ApplicationShutdownReason represents the possible values for the ShutdownReason property of the HostingEnvironment class.