ApplicationManager.StopObject(String, Type) Método

Definição

Remove o objeto especificado da lista de objetos registrados em um aplicativo. Se o objeto a ser removido for o último objeto restante na lista de objetos registrados em um aplicativo, o aplicativo será descarregado.

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)

Parâmetros

appId
String

O identificador exclusivo para o aplicativo que possui o objeto.

type
Type

O tipo do objeto a descarregar.

Exceções

appId é null.

- ou -

type é null.

Aplica-se a