This documentation is archived and is not being maintained.
ApplicationShutdownReason Enumeration
Visual Studio 2010
Specifies why the AppDomain class shut down.
Assembly: System.Web (in System.Web.dll)
| Member name | Description | |
|---|---|---|
| None | No shutdown reason was provided. | |
| HostingEnvironment | The hosting environment shut down the application domain. | |
| ChangeInGlobalAsax | A change was made to the Global.asax file. | |
| ConfigurationChange | A change was made to the application-level configuration file. | |
| UnloadAppDomainCalled | A call was made to UnloadAppDomain. | |
| ChangeInSecurityPolicyFile | A change was made in the code access security policy file. | |
| BinDirChangeOrDirectoryRename | A change was made to the Bin folder or to files in it. | |
| BrowsersDirChangeOrDirectoryRename | A change was made to the App_Browsers folder or to files in it. | |
| CodeDirChangeOrDirectoryRename | A change was made to the App_Code folder or to files in it. | |
| ResourcesDirChangeOrDirectoryRename | A change was made to the App_GlobalResources folder or to files in it. | |
| IdleTimeout | The maximum idle time limit was reached. | |
| PhysicalApplicationPathChanged | A change was made to the physical path of the application. | |
| HttpRuntimeClose | A call was made to Close. | |
| InitializationError | An AppDomain initialization error occurred. | |
| MaxRecompilationsReached | The maximum number of dynamic recompiles of resources was reached. | |
| BuildManagerChange | 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. |
The ApplicationShutdownReason represents the possible values for the ShutdownReason property of the HostingEnvironment class.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: