RemovalOptions
RemovalOptions
RemovalOptions
RemovalOptions
Enum
Definition
Values that modify the removal of a package.
This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.
public : enum class RemovalOptionspublic enum RemovalOptionsPublic Enum RemovalOptions// You can use this enum in JavaScript.
- Attributes
-
System.FlagsAttribute ContractVersionAttribute
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| None None None None | No removal options are specified. This is the default deployment behavior. |
| PreserveApplicationData PreserveApplicationData PreserveApplicationData PreserveApplicationData | Don't remove any application data when the package is removed. This can only apply to packages that were deployed with the DeploymentOptions::DevelopmentMode value. If you specify PreserveApplicationData on an incompatible package, PackageManager::RemovePackageAsync(String, RemovalOptions) returns E_INVALIDARG. |