ShutdownAppDomain() static private méthode

static private ShutdownAppDomain ( ) : void
Résultat void
        private void OnAppFileChange(Object sender, FileChangeEvent e)
        {
            // shutdown the app domain if app file changed
            Debug.Trace("AppDomainFactory", "Shutting down appdomain because of application file change");
            string message = FileChangesMonitor.GenerateErrorMessage(e.Action, e.FileName);

            if (message == null)
            {
                message = "Change in GLOBAL.ASAX";
            }
            HttpRuntime.ShutdownAppDomain(ApplicationShutdownReason.ChangeInGlobalAsax, message);
        }
Exemple #2
0
 private void OnAppFileChange(Object sender, FileChangeEvent e)
 {
     // shutdown the app domain if app file changed
     Debug.Trace("AppDomainFactory", "Shutting down appdomain because of application file change");
     HttpRuntime.ShutdownAppDomain("Change in GLOBAL.ASAX");
 }
Exemple #3
0
 private void OnAppFileChange(object sender, FileChangeEvent e)
 {
     HttpRuntime.ShutdownAppDomain(ApplicationShutdownReason.ChangeInGlobalAsax, "Change in GLOBAL.ASAX");
 }