55 references to ApplicationShutdownReason
System.Web (55)
Compilation\BuildManager.cs (1)
728HttpRuntime.ShutdownAppDomain(ApplicationShutdownReason.BuildManagerChange, message);
Compilation\BuildManagerHost.cs (1)
614return HttpRuntime.ShutdownAppDomain(ApplicationShutdownReason.UnloadAppDomainCalled, "CBM called UnloadAppDomain");
Compilation\BuildResultCache.cs (2)
283HttpRuntime.SetShutdownReason(ApplicationShutdownReason.BuildManagerChange, message); 614HttpRuntime.ShutdownAppDomain(ApplicationShutdownReason.MaxRecompilationsReached,
Compilation\ClientBuildManager.cs (7)
121private ApplicationShutdownReason _reason; 706internal void OnAppDomainUnloaded(ApplicationShutdownReason reason) { 739AppDomainShutdown(this, new BuildManagerHostUnloadEventArgs((ApplicationShutdownReason)o)); 743internal void OnAppDomainShutdown(ApplicationShutdownReason reason) { 774ApplicationShutdownReason _reason; 776public BuildManagerHostUnloadEventArgs(ApplicationShutdownReason reason) { 782public ApplicationShutdownReason Reason { get { return _reason; } }
Hosting\HostingEnvironment.cs (3)
617HttpRuntime.SetShutdownReason(ApplicationShutdownReason.HostingEnvironment, "HostingEnvironment initiated shutdown"); 731HttpRuntime.ShutdownAppDomainWithStackTrace(ApplicationShutdownReason.HostingEnvironment, 1524public static ApplicationShutdownReason ShutdownReason {
Hosting\IPipelineRuntime.cs (1)
258HttpRuntime.SetShutdownReason(ApplicationShutdownReason.ConfigurationChange, "IIS configuration change");
Hosting\ISAPIRuntime.cs (1)
173HttpRuntime.ShutdownAppDomain(ApplicationShutdownReason.PhysicalApplicationPathChanged,
HttpApplicationFactory.cs (1)
346HttpRuntime.ShutdownAppDomain(ApplicationShutdownReason.ChangeInGlobalAsax, message);
HttpRuntime.cs (21)
214private ApplicationShutdownReason _shutdownReason = ApplicationShutdownReason.None; 364ShutdownAppDomain(ApplicationShutdownReason.InitializationError, "Initialization Error"); 1610ShutdownAppDomain(ApplicationShutdownReason.HostingEnvironment, "HostingInit error"); 1814ShutdownAppDomain(ApplicationShutdownReason.HostingEnvironment, "HostingInit error"); 2129ApplicationShutdownReason reason = ApplicationShutdownReason.None; 2136reason = ApplicationShutdownReason.CodeDirChangeOrDirectoryRename; 2139reason = ApplicationShutdownReason.ResourcesDirChangeOrDirectoryRename; 2142reason = ApplicationShutdownReason.BrowsersDirChangeOrDirectoryRename; 2145reason = ApplicationShutdownReason.BinDirChangeOrDirectoryRename; 2207internal static bool ShutdownAppDomain(ApplicationShutdownReason reason, string message) { 2215internal static bool ShutdownAppDomainWithStackTrace(ApplicationShutdownReason reason, string message, string stackTrace) { 2328ShutdownAppDomain(ApplicationShutdownReason.ConfigurationChange, (message != null) ? message : "CONFIG change"); 2332internal static void SetShutdownReason(ApplicationShutdownReason reason, String message) { 2333if (_theRuntime._shutdownReason == ApplicationShutdownReason.None) { 2351internal static ApplicationShutdownReason ShutdownReason { 2425SetShutdownReason(ApplicationShutdownReason.HttpRuntimeClose, "HttpRuntime.Close is called"); 2443ShutdownAppDomain(ApplicationShutdownReason.UnloadAppDomainCalled, "User code called UnloadAppDomain"); 3306ShutdownAppDomain(ApplicationShutdownReason.ChangeInSecurityPolicyFile, 3322ShutdownAppDomain(ApplicationShutdownReason.ConfigurationChange, message);
IdleTimeoutMonitor.cs (1)
78HttpRuntime.SetShutdownReason(ApplicationShutdownReason.IdleTimeout,
Management\WebEvents.cs (16)
1184static internal int DetailCodeFromShutdownReason(ApplicationShutdownReason reason) { 1186case ApplicationShutdownReason.HostingEnvironment: 1189case ApplicationShutdownReason.ChangeInGlobalAsax: 1192case ApplicationShutdownReason.ConfigurationChange: 1195case ApplicationShutdownReason.UnloadAppDomainCalled: 1198case ApplicationShutdownReason.ChangeInSecurityPolicyFile: 1201case ApplicationShutdownReason.BinDirChangeOrDirectoryRename: 1204case ApplicationShutdownReason.BrowsersDirChangeOrDirectoryRename: 1207case ApplicationShutdownReason.CodeDirChangeOrDirectoryRename: 1210case ApplicationShutdownReason.ResourcesDirChangeOrDirectoryRename: 1213case ApplicationShutdownReason.IdleTimeout: 1216case ApplicationShutdownReason.PhysicalApplicationPathChanged: 1219case ApplicationShutdownReason.HttpRuntimeClose: 1222case ApplicationShutdownReason.InitializationError: 1225case ApplicationShutdownReason.MaxRecompilationsReached: 1228case ApplicationShutdownReason.BuildManagerChange: