StorePackageUpdateState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 class 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 requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Services.Store.StoreContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
Pending | 0 | The download of the package updates has not started. |
Downloading | 1 | The package updates are being downloaded. |
Deploying | 2 | The package updates are being deployed to the device. |
Completed | 3 | The package updates have finished downloading or installing. |
Canceled | 4 | The download or installation of the package updates was canceled. |
OtherError | 5 | An unknown error occurred. |
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. |
Remarks
To request the download or install of a package, use the RequestDownloadAndInstallStorePackagesAsync, RequestDownloadAndInstallStorePackageUpdatesAsync, or RequestDownloadStorePackageUpdatesAsync methods of the StoreContext class.