Context. Get Store Queue Items Async(IIterable<String>) Method
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.
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;
/// [Windows.Foundation.Metadata.RemoteAsync] 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, version 1803 (introduced in 10.0.17134.0)
Windows.Services.Store.StoreContract (introduced in v3.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.