PackageStubPreference Enum
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.
public enum class PackageStubPreference
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
enum class PackageStubPreference
C#
[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
Device family |
Windows 10, version 2004 (introduced in 10.0.19041.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v10.0)
|
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. |
Note
The ability for an app to run as a stub is currently available only to certain apps that are built by Microsoft.
Product | Versions |
---|---|
WinRT | Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |