ApplicationManager.StopObject Method (String, Type)
.NET Framework (current version)
Removes the specified object from the list of registered objects in an application. If the object to be removed is the last remaining object in the list of registered objects in an application, the application is unloaded.
Assembly: System.Web (in System.Web.dll)
<SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted := True)> Public Sub StopObject ( appId As String, type As Type )
Parameters
- appId
-
Type:
System.String
The unique identifier for the application that owns the object.
- type
-
Type:
System.Type
The type of the object to unload.
| Exception | Condition |
|---|---|
| ArgumentNullException | appId is null. - or - type is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: