StubPackageOption 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 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
[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
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 |
---|---|---|
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. |
Remarks
Note
The ability for an app to run as a stub is currently available only to certain apps that are built by Microsoft.