internal bool UnloadAppDomain() { _ignorePendingCalls = true; // Make sure HttpRuntime does not ignore the appdomain shutdown. HttpRuntime.SetUserForcedShutdown(); // Force unload the appdomain when called from client return(HttpRuntime.ShutdownAppDomain(ApplicationShutdownReason.UnloadAppDomainCalled, "CBM called UnloadAppDomain")); }
internal bool UnloadAppDomain() { this._ignorePendingCalls = true; HttpRuntime.SetUserForcedShutdown(); return(HttpRuntime.ShutdownAppDomain(ApplicationShutdownReason.UnloadAppDomainCalled, "CBM called UnloadAppDomain")); }