Share via


StoreContext.GetAssociatedStoreQueueItemsAsync Method

Definition

Gets info about all the new or updated packages that are in the download and installation queue for the current app.

public:
 virtual IAsyncOperation<IVectorView<StoreQueueItem ^> ^> ^ GetAssociatedStoreQueueItemsAsync() = GetAssociatedStoreQueueItemsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<StoreQueueItem>> GetAssociatedStoreQueueItemsAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<StoreQueueItem>> GetAssociatedStoreQueueItemsAsync();
function getAssociatedStoreQueueItemsAsync()
Public Function GetAssociatedStoreQueueItemsAsync () As IAsyncOperation(Of IReadOnlyList(Of StoreQueueItem))

Returns

An asynchronous operation that, on successful completion, returns the collection of StoreQueueItem objects that provide info about the app packages that are in the queue.

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

If your app supports downloading and installing new or updated packages by using the RequestDownloadAndInstallStorePackagesAsync or RequestDownloadAndInstallStorePackageUpdatesAsync methods, in some cases your app may close before it successfully completes the download and install of the packages (for example, a user may close your app before the process is completed). You can use this method to get progress info about any packages that are currently in the queue so your app can display the download or install status of the packages.

Applies to

See also