اقرأ باللغة الإنجليزية تحرير

مشاركة عبر


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.

C#
public void StopObject(string appId, Type 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

منتج الإصدارات
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1