StoreContext.SetInstallOrderForAssociatedStoreQueueItemsAsync 方法

定义

设置在当前应用的下载和安装队列中安装指定包的顺序。

public:
 virtual IAsyncOperation<IVectorView<StoreQueueItem ^> ^> ^ SetInstallOrderForAssociatedStoreQueueItemsAsync(IIterable<StoreQueueItem ^> ^ items) = SetInstallOrderForAssociatedStoreQueueItemsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<StoreQueueItem>> SetInstallOrderForAssociatedStoreQueueItemsAsync(IIterable<StoreQueueItem> const& items);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<StoreQueueItem>> SetInstallOrderForAssociatedStoreQueueItemsAsync(IEnumerable<StoreQueueItem> items);
function setInstallOrderForAssociatedStoreQueueItemsAsync(items)
Public Function SetInstallOrderForAssociatedStoreQueueItemsAsync (items As IEnumerable(Of StoreQueueItem)) As IAsyncOperation(Of IReadOnlyList(Of StoreQueueItem))

参数

items

IIterable<StoreQueueItem>

IEnumerable<StoreQueueItem>

StoreQueueItem 对象的列表,该列表表示安装队列中的包,按希望安装包的顺序。

返回

一个异步操作,在成功完成后,将按队列中相应包的安装顺序返回 StoreQueueItem 对象列表。

属性

Windows 要求

设备系列
Windows 10, version 1809 (在 10.0.17763.0 中引入)
API contract
Windows.Services.Store.StoreContract (在 v4.0 中引入)

适用于

另请参阅