Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.56 KB

storepackageupdate_mandatory.md

File metadata and controls

26 lines (18 loc) · 1.56 KB
-api-id -api-type
P:Windows.Services.Store.StorePackageUpdate.Mandatory
winrt property

Windows.Services.Store.StorePackageUpdate.Mandatory

-description

Gets a value that indicates whether the package that has an update available for download from the Microsoft Store is a mandatory package, as specified by the developer in Partner Center.

-property-value

True if the package is a mandatory package; otherwise, false.

-remarks

The mandatory status of a package is not enforced by Microsoft, and the OS does not provide a UI to indicate to users that a mandatory app must be installed. Developers are intended to use the mandatory setting to enforce mandatory app updates in their own code that uses GetAppAndOptionalStorePackageUpdatesAsync to determine which packages have updates available and RequestDownloadStorePackageUpdatesAsync or RequestDownloadAndInstallStorePackageUpdatesAsync to download or install the updated packages.

For more information about using this property, including a code example, see Download and install package updates for your app.

-examples

-see-also

Download and install package updates for your app