Share via


IFrameworkView.Uninitialize Method

Definition

Uninitializes the app view and releases external resources.

public:
 void Uninitialize();
void Uninitialize();
public void Uninitialize();
function uninitialize()
Public Sub Uninitialize ()

Remarks

Your implementation of this method should clean up any external resources created during the previous call to Load when you created the app view.

This method is called when the app view is being terminated, and it provides an opportunity to release any resources that were allocated for the view. You should ensure that all resources are properly released to avoid memory leaks or other issues. It is not intended to be used to clean up resources when exiting the app. You can clean up app resources when exiting with CoreApplication.Suspending or CoreApplication.Exiting event handlers.

Applies to