StorePackageUpdateState Enum

Definition

Defines values that represent the state of a package download or installation request.

public enum class StorePackageUpdateState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Store.StoreContract, 65536)]
enum StorePackageUpdateState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Store.StoreContract), 65536)]
public enum StorePackageUpdateState
var value = Windows.Services.Store.StorePackageUpdateState.pending
Public Enum StorePackageUpdateState
Inheritance
StorePackageUpdateState
Attributes

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Services.Store.StoreContract (introduced in v1.0)

Fields

Canceled 4

The download or installation of the package updates was canceled.

Completed 3

The package updates have finished downloading or installing.

Deploying 2

The package updates are being deployed to the device.

Downloading 1

The package updates are being downloaded.

ErrorLowBattery 6

The download or installation of the package updates did not succeed because the device does not have enough battery power.

ErrorWiFiRecommended 7

The download did not succeed because a Wi-Fi connection is recommended to download the package updates.

ErrorWiFiRequired 8

The download did not succeed because a Wi-Fi connection is required to download the package updates.

OtherError 5

An unknown error occurred.

Pending 0

The download of the package updates has not started.

Remarks

To request the download or install of a package, use the RequestDownloadAndInstallStorePackagesAsync, RequestDownloadAndInstallStorePackageUpdatesAsync, or RequestDownloadStorePackageUpdatesAsync methods of the StoreContext class.

Applies to