StoreContext.SetInstallOrderForAssociatedStoreQueueItemsAsync(IIterable<StoreQueueItem>) StoreContext.SetInstallOrderForAssociatedStoreQueueItemsAsync(IIterable<StoreQueueItem>) StoreContext.SetInstallOrderForAssociatedStoreQueueItemsAsync(IIterable<StoreQueueItem>) StoreContext.SetInstallOrderForAssociatedStoreQueueItemsAsync(IIterable<StoreQueueItem>) StoreContext.SetInstallOrderForAssociatedStoreQueueItemsAsync(IIterable<StoreQueueItem>) Method

Definition

Sets the order in which to install the specified packages in the download and installation queue for the current app.

public : IAsyncOperation<IVectorView<StoreQueueItem>> SetInstallOrderForAssociatedStoreQueueItemsAsync(IIterable<StoreQueueItem> items)
IAsyncOperation<IVectorView<StoreQueueItem>> SetInstallOrderForAssociatedStoreQueueItemsAsync(IIterable<StoreQueueItem> items) const;
public IAsyncOperation<IReadOnlyList<StoreQueueItem>> SetInstallOrderForAssociatedStoreQueueItemsAsync(IEnumerable<StoreQueueItem> items)
Public Function SetInstallOrderForAssociatedStoreQueueItemsAsync(items As IEnumerable(Of StoreQueueItem)) As IAsyncOperation<IReadOnlyList<StoreQueueItem>>(Of IVectorView)
Windows.Services.Store.StoreContext.setInstallOrderForAssociatedStoreQueueItemsAsync(items).done( /* Your success and error handlers */ );

Parameters

items
IEnumerable<StoreQueueItem> IEnumerable<StoreQueueItem> IEnumerable<StoreQueueItem>

A list of StoreQueueItem objects that represents the packages in the install queue, in the order in which you want the packages to be installed.

Returns

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

An asynchronous operation that, on successful completion, returns the list of StoreQueueItem objects in the order in which the corresponding packages in the queue were set to be installed.

Additional features and requirements

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

See also