The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ApplicationManager::ShutdownApplication Method (String^)
.NET Framework (current version)
Unloads the specified application.
Assembly: System.Web (in System.Web.dll)
public: [SecurityPermissionAttribute(SecurityAction::Demand, Unrestricted = true)] void ShutdownApplication( String^ appId )
Parameters
- appId
-
Type:
System::String^
The unique identifier of the application to unload.
| Exception | Condition |
|---|---|
| ArgumentNullException | appId is null. |
Calling the ShutdownApplication method is equivalent to calling the HostingEnvironment::InitiateShutdown method for a specific application domain; however, the ShutdownApplication method can be called from outside managed application domains.
.NET Framework
Available since 2.0
Available since 2.0
Show: