ApplicationManager.StopObject(String, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
void StopObject(System::String ^ appId, Type ^ type);
public void StopObject (string appId, Type type);
member this.StopObject : string * Type -> unit
Public Sub StopObject (appId As String, type As Type)
Parameters
- appId
- String
The unique identifier for the application that owns the object.
- type
- Type
The type of the object to unload.
Exceptions
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.