ApplicationManager.ShutdownApplication(String) Method

Definition

Unloads the specified application.

public:
 void ShutdownApplication(System::String ^ appId);
public void ShutdownApplication (string appId);
member this.ShutdownApplication : string -> unit
Public Sub ShutdownApplication (appId As String)

Parameters

appId
String

The unique identifier of the application to unload.

Exceptions

appId is null.

Remarks

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.

Applies to