StoreContext.GetStoreQueueItemsAsync(IIterable<String>) StoreContext.GetStoreQueueItemsAsync(IIterable<String>) StoreContext.GetStoreQueueItemsAsync(IIterable<String>) StoreContext.GetStoreQueueItemsAsync(IIterable<String>) StoreContext.GetStoreQueueItemsAsync(IIterable<String>) Method

Definition

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

public : IAsyncOperation<IVectorView<StoreQueueItem>> GetStoreQueueItemsAsync(IIterable<Platform::String> storeIds)
IAsyncOperation<IVectorView<StoreQueueItem>> GetStoreQueueItemsAsync(IIterable<winrt::hstring> storeIds) const;
public IAsyncOperation<IReadOnlyList<StoreQueueItem>> GetStoreQueueItemsAsync(IEnumerable<String> storeIds)
Public Function GetStoreQueueItemsAsync(storeIds As IEnumerable(Of String)) As IAsyncOperation<IReadOnlyList<StoreQueueItem>>(Of IVectorView)
Windows.Services.Store.StoreContext.getStoreQueueItemsAsync(storeIds).done( /* Your success and error handlers */ );

Parameters

storeIds
IEnumerable<String> IEnumerable<String> IEnumerable<String>

An array of Store ID strings that correspond to the packages for which you want to get download and installation queue info.

Returns

IAsyncOperation<IReadOnlyList<StoreQueueItem>> IAsyncOperation<IReadOnlyList<StoreQueueItem>> IAsyncOperation<IReadOnlyList<StoreQueueItem>>

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

Additional features and requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Services.Store.StoreContract (introduced v4)

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.

The Store ID for a product is available in Partner Center, and it also is returned by the StoreId property of the StoreProduct that represents the product. For more information, see Store IDs.

See also