StoreContext.SetInstallOrderForAssociatedStoreQueueItemsAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置在当前应用的下载和安装队列中安装指定包的顺序。
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))
参数
StoreQueueItem 对象的列表,这些对象表示安装队列中的包,其顺序是希望安装包的顺序。
返回
成功完成后,异步操作将返回 StoreQueueItem 对象列表,其顺序是队列中的相应包设置为安装。
- 属性
Windows 要求
| 要求 | 说明 |
|---|---|
| 设备系列 |
Windows 10, version 1809 (在 10.0.17763.0 中引入)
|
| API contract |
Windows.Services.Store.StoreContract (在 v4.0 中引入)
|