Share via


StoreQueueItemState 列舉

定義

定義值,指定目前應用程式下載和安裝佇列中新或更新套件的狀態。

public enum class StoreQueueItemState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Store.StoreContract, 196608)]
enum class StoreQueueItemState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Store.StoreContract), 196608)]
public enum StoreQueueItemState
var value = Windows.Services.Store.StoreQueueItemState.active
Public Enum StoreQueueItemState
繼承
StoreQueueItemState
屬性

Windows 需求

裝置系列
Windows 10, version 1803 (已於 10.0.17134.0 引進)
API contract
Windows.Services.Store.StoreContract (已於 v3.0 引進)

欄位

Active 0

正在下載或安裝套件。

Canceled 2

已取消下載或安裝套件。

Completed 1

已完成套件的下載和安裝。

Error 3

下載或安裝套件時發生錯誤。

Paused 4

已暫停下載或安裝套件。

備註

StoreQueueItemExtendedState

適用於