Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

ApplicationShutdownReason Enumeration

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)

public enum ApplicationShutdownReason
public enum ApplicationShutdownReason
public enum ApplicationShutdownReason
 Member nameDescription
BinDirChangeOrDirectoryRenameThe AppDomain shut down because of a change to the Bin folder or files contained in it.  
BrowsersDirChangeOrDirectoryRenameThe AppDomain shut down because of a change to the App_Browsers folder or files contained in it.  
ChangeInGlobalAsaxThe AppDomain shut down because of a change to Global.asax.  
ChangeInSecurityPolicyFileThe AppDomain shut down because of a change in the code access security policy file.  
CodeDirChangeOrDirectoryRenameThe AppDomain shut down because of a change to the App_Code folder or files contained in it.  
ConfigurationChangeThe AppDomain shut down because of a change to the application level configuration.  
HostingEnvironmentThe AppDomain shut down because of the hosting environment. 
HttpRuntimeCloseThe AppDomain shut down because of a call to Close.  
IdleTimeoutThe AppDomain shut down because of the maximum allowed idle time limit.  
InitializationErrorThe AppDomain shut down because of an AppDomain initialization error.  
MaxRecompilationsReachedThe AppDomain shut down because of the maximum number of dynamic recompiles of resources limit.  
NoneNo shutdown reason provided.  
PhysicalApplicationPathChangedThe AppDomain shut down because of a change to the physical path for the application.  
ResourcesDirChangeOrDirectoryRenameThe AppDomain shut down because of a change to the App_GlobalResources folder or files contained in it.  
UnloadAppDomainCalledThe 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.

.NET Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.