Udostępnij za pośrednictwem


PackageStatus Enum

Definition

Provides info about the status of a Package.

This enumeration supports a bitwise combination of its member values.

public enum class PackageStatus
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PackageStatus
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PackageStatus
var value = Windows.Management.Deployment.PackageStatus.oK
Public Enum PackageStatus
Inheritance
PackageStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
OK 0

The package is usable.

LicenseIssue 1

The license of the package is not valid.

Modified 2

The package payload was modified by an unknown source.

Tampered 4

The package payload was tampered with intentionally.

Disabled 8

The package is not available for use. It can still be serviced.

Applies to

See also