System.Web.ApplicationShutdownReason Enumeration

Specifies why the AppDomain class shut down.

Syntax

public enum ApplicationShutdownReason

Remarks

The System.Web.ApplicationShutdownReason represents the possible values for the System.Web.Hosting.HostingEnvironment.ShutdownReason property of the System.Web.Hosting.HostingEnvironment class.

Members

Member NameDescription
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.

ChangeInGlobalAsax

A change was made to the Global.asax file.

ChangeInSecurityPolicyFile

A change was made in the code access security policy file.

CodeDirChangeOrDirectoryRename

A change was made to the App_Code folder or to files in it.

ConfigurationChange

A change was made to the application-level configuration file.

HostingEnvironment

The hosting environment shut down the application domain.

HttpRuntimeClose

A call was made to HttpRuntime.Close.

IdleTimeout

The maximum idle time limit was reached.

InitializationError

An AppDomain initialization error occurred.

MaxRecompilationsReached

The maximum number of dynamic recompiles of resources was reached.

None

No shutdown reason was provided.

PhysicalApplicationPathChanged

A change was made to the physical path of the application.

ResourcesDirChangeOrDirectoryRename

A change was made to the App_GlobalResources folder or to files in it.

UnloadAppDomainCalled

A call was made to HttpRuntime.UnloadAppDomain.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0