StoreQueueItem Class

Definition

Represents info about a new or updated package that is in the download and installation queue for the current app.

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

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Services.Store.StoreContract (introduced in v3.0)

Remarks

Version history

Windows version SDK version Value added
1809 17763 CancelInstallAsync
1809 17763 PauseInstallAsync
1809 17763 ResumeInstallAsync

Properties

InstallKind

Gets a value that describes the operation being performed for the current package in the download and installation queue.

PackageFamilyName

Gets the package family name of the current package in the queue.

ProductId

Gets the add-on product ID of the current package in the queue, if the package corresponds to an add-on.

Methods

CancelInstallAsync()

Cancels the install for the current package in the queue.

GetCurrentStatus()

Returns the status of the current package in the queue.

PauseInstallAsync()

Pauses the install for the current package in the queue.

ResumeInstallAsync()

Resumes the install for the current package in the queue.

Events

Completed

Raised when the download and installation of the current package in the queue is completed.

StatusChanged

Raised when the status of the current package in the queue changes.

Applies to

See also