StubPackageOption 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.
Defines the stub behavior for an app package that is being added or staged.
public enum class StubPackageOption
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
enum class StubPackageOption
C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
public enum StubPackageOption
var value = Windows.Management.Deployment.StubPackageOption.default
Public Enum StubPackageOption
- Inheritance
-
StubPackageOption
- 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 |
---|---|---|
Default | 0 | Use the default behavior. |
InstallFull | 1 | Install as a full app. |
InstallStub | 2 | Install as stub app. |
UsePreference | 3 | Use the current PackageSubPreference for the package. |
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 |