Uninstalls the specified optional package for the current app without displaying a notification UI dialog to the user.
The optional package to uninstall for the current app.
Optional packages and DLC packages are not available to all developer accounts.
When you call this method, the OS silently uninstalls the app package without displaying a notification dialog. This method requires the restricted storePackageManagement capability to perform this operation. If you don't have access to this restricted capability, you can use the RequestUninstallStorePackageAsync or RequestUninstallStorePackageByStoreIdAsync methods instead (these methods display a notification dialog that requests the user's permission to uninstall the package).
The restricted storePackageManagement capability is only available to desktop applications and games that use the Desktop Bridge and to Xbox games that use XVC packages and are developed as part of a managed partner program, such as the ID@Xbox program. These applications and games have this capability by default.