Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

StorePackageUpdate Class

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.

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

Requirements Description
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

Name Description
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


Feedback

Was this page helpful?