ApplicationShutdownReason Enum
Definition
Important
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
- Inheritance
Fields
BinDirChangeOrDirectoryRename | 6 | A change was made to the Bin folder or to files in it. |
BrowsersDirChangeOrDirectoryRename | 7 | A change was made to the App_Browsers folder or to files in it. |
BuildManagerChange | 15 | 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. |
ChangeInGlobalAsax | 2 | A change was made to the Global.asax file. |
ChangeInSecurityPolicyFile | 5 | A change was made in the code access security policy file. |
CodeDirChangeOrDirectoryRename | 8 | A change was made to the App_Code folder or to files in it. |
ConfigurationChange | 3 | A change was made to the application-level configuration file. |
HostingEnvironment | 1 | The hosting environment shut down the application domain. |
HttpRuntimeClose | 12 | A call was made to Close(). |
IdleTimeout | 10 | The maximum idle time limit was reached. |
InitializationError | 13 | An AppDomain initialization error occurred. |
MaxRecompilationsReached | 14 | The maximum number of dynamic recompiles of resources was reached. |
None | 0 | No shutdown reason was provided. |
PhysicalApplicationPathChanged | 11 | A change was made to the physical path of the application. |
ResourcesDirChangeOrDirectoryRename | 9 | A change was made to the App_GlobalResources folder or to files in it. |
UnloadAppDomainCalled | 4 | A call was made to UnloadAppDomain(). |
Remarks
The ApplicationShutdownReason represents the possible values for the ShutdownReason property of the HostingEnvironment class.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기