StorePackageUpdate Class

Definition

Provides info about a package for the current app that has an update available for download from the Microsoft Store.

public ref class StorePackageUpdate sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Store.StoreContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StorePackageUpdate final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Store.StoreContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StorePackageUpdate
Public NotInheritable Class StorePackageUpdate
Inheritance
Object Platform::Object IInspectable StorePackageUpdate
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Services.Store.StoreContract (introduced in v1.0)

Remarks

The StoreContext.GetAppAndOptionalStorePackageUpdatesAsync method returns objects of this type. For more information, including a code example, see Download and install package updates for your app.

Properties

Mandatory

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.

Package

Gets the package that has an update available for download from the Microsoft Store.

Applies to

See also