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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för