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

适用于