Editare

Partajați prin


ApplicationManager.StopObject(String, Type) Method

Definition

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

appId is null.

-or-

type is null.

Applies to