Jaa


PackageStubPreference Enum

Definition

Represents whether an app Package currently prefers to run as a full app or a stub app.

public enum class PackageStubPreference
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
enum class PackageStubPreference
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
public enum PackageStubPreference
var value = Windows.Management.Deployment.PackageStubPreference.full
Public Enum PackageStubPreference
Inheritance
PackageStubPreference
Attributes

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Fields

Name Value Description
Full 0

The app package currently prefers to run as a full app.

Stub 1

The app package currently prefers to run as a stub app.

Remarks

Note

The ability for an app to run as a stub is currently available only to certain apps that are built by Microsoft.

Applies to

See also