Context. Get Store Queue Items Async(IEnumerable<String>) Method
Gets info about the specified new or updated packages that are in the download and installation queue for the current app.
public: virtual IAsyncOperation<IVectorView<StoreQueueItem ^> ^> ^ GetStoreQueueItemsAsync(IIterable<Platform::String ^> ^ storeIds) = GetStoreQueueItemsAsync;
IAsyncOperation<IVectorView<StoreQueueItem>> GetStoreQueueItemsAsync(IIterable<winrt::hstring> const & storeIds);
[Windows.Foundation.Metadata.RemoteAsync] public IAsyncOperation<IReadOnlyList<StoreQueueItem>> GetStoreQueueItemsAsync(IEnumerable<string> storeIds);
Public Function GetStoreQueueItemsAsync (storeIds As IEnumerable(Of String)) As IAsyncOperation(Of IReadOnlyList(Of StoreQueueItem))
An array of Store ID strings that correspond to the packages for which you want to get download and installation queue info.
An asynchronous operation that, on successful completion, returns the collection of StoreQueueItem objects that provide info about the specified packages in the queue.
Windows 10 requirements
Windows 10, version 1809 (introduced in 10.0.17763.0)
Windows.Services.Store.StoreContract (introduced in v4.0)
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.