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