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 需求
| 規格需求 | Description |
|---|---|
| 裝置系列 |
Windows 10, version 1809 (已於 10.0.17763.0 引進)
|
| API contract |
Windows.Services.Store.StoreContract (已於 v4.0 引進)
|