ApplicationShutdownReason Enumeration
.NET Framework 2.0
Note: This enumeration is new in the .NET Framework version 2.0.
Specifies why the AppDomain class shut down.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
| Member name | Description | |
|---|---|---|
| BinDirChangeOrDirectoryRename | The AppDomain shut down because of a change to the Bin folder or files contained in it. | |
| BrowsersDirChangeOrDirectoryRename | The AppDomain shut down because of a change to the App_Browsers folder or files contained in it. | |
| ChangeInGlobalAsax | The AppDomain shut down because of a change to Global.asax. | |
| ChangeInSecurityPolicyFile | The AppDomain shut down because of a change in the code access security policy file. | |
| CodeDirChangeOrDirectoryRename | The AppDomain shut down because of a change to the App_Code folder or files contained in it. | |
| ConfigurationChange | The AppDomain shut down because of a change to the application level configuration. | |
| HostingEnvironment | The AppDomain shut down because of the hosting environment. | |
| HttpRuntimeClose | The AppDomain shut down because of a call to Close. | |
| IdleTimeout | The AppDomain shut down because of the maximum allowed idle time limit. | |
| InitializationError | The AppDomain shut down because of an AppDomain initialization error. | |
| MaxRecompilationsReached | The AppDomain shut down because of the maximum number of dynamic recompiles of resources limit. | |
| None | No shutdown reason provided. | |
| PhysicalApplicationPathChanged | The AppDomain shut down because of a change to the physical path for the application. | |
| ResourcesDirChangeOrDirectoryRename | The AppDomain shut down because of a change to the App_GlobalResources folder or files contained in it. | |
| UnloadAppDomainCalled | The AppDomain shut down because of a call to UnloadAppDomain. |
The ApplicationShutdownReason enumeration specifies why an AppDomain class shut down.
The ApplicationShutdownReason represents the possible values for the ShutdownReason property of the HostingEnvironment class.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: