Skip to content

Commit 7bd2952

Browse files
Steven WhiteSteven White
authored andcommitted
Merged PR 21171: Conditions that the caller must fulfil
Conditions that the caller must fulfil
1 parent 0313a6a commit 7bd2952

3 files changed

Lines changed: 26 additions & 1 deletion

File tree

windows.management.deployment/packagemanager_removepackageasync_1124236459.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,16 @@ A string representation of the package identity to identify the package to be re
2020
The status of the deployment request. The [DeploymentResult](deploymentresult.md) contains the final returned value of the deployment operation, once it is completed. The [DeploymentProgress](deploymentprogress.md) can be used to obtain the percentage of completion over the entire course of the deployment operation.
2121

2222
## -remarks
23-
This request cannot be canceled. The package full name is an alternate form of the package identity that is shorter and is suitable for naming objects such as files and directories. A package identity is represented by the [Identity](/uwp/schemas/appxpackage/appxmanifestschema/element-identity) element of the package manifest. When a package is removed it is removed for the current user, which means that the package payload continues to exist if other users have installed the package, but it will not be accessible to the current user. If no other users have the specified package installed, its payload will be removed from the %ProgramFiles%\WindowsApps directory. Any app associated with the package that is being removed will be shutdown automatically as part of the package removal.
23+
24+
For a call to this method to be successful, the caller needs to fulfil one of these conditions:
25+
26+
* The caller is running in an AppContainer (Low IL) *and* it has the **packageManagement** restricted capability.
27+
* The caller is running with Medium IL, or higher.
28+
* The caller’s publisher matches the publisher of the package (or volume) being removed.
29+
30+
For descriptions of the terms above, and links to more info, see [Packaging, deployment, and process](/windows/apps/get-started/intro-pack-dep-proc).
31+
32+
This request can't be canceled. The package full name is an alternate form of the package identity that is shorter and is suitable for naming objects such as files and directories. A package identity is represented by the [Identity](/uwp/schemas/appxpackage/appxmanifestschema/element-identity) element of the package manifest. When a package is removed it is removed for the current user, which means that the package payload continues to exist if other users have installed the package, but it will not be accessible to the current user. If no other users have the specified package installed, its payload will be removed from the %ProgramFiles%\WindowsApps directory. Any app associated with the package that is being removed will be shutdown automatically as part of the package removal.
2433

2534
## -examples
2635
Call the RemovePackageAsync(String) method to uninstall the app package. Notice that the package full name in *packageFullName* comes from a command-line argument.

windows.management.deployment/packagemanager_removepackageasync_1331217245.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ A pointer that receives the address of an object that implements the [IAsyncOper
2424

2525
## -remarks
2626

27+
For a call to this method to be successful, the caller needs to fulfil one of these conditions:
28+
29+
* The caller is running in an AppContainer (Low IL) *and* it has the **packageManagement** restricted capability.
30+
* The caller is running with Medium IL, or higher.
31+
* The caller’s publisher matches the publisher of the package (or volume) being removed.
32+
33+
For descriptions of the terms above, and links to more info, see [Packaging, deployment, and process](/windows/apps/get-started/intro-pack-dep-proc).
34+
2735
## -examples
2836

2937
## -see-also

windows.management.deployment/packagemanager_removepackagevolumeasync_1461863565.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ An object that the caller can observe to track progress and completion for the c
2121

2222
## -remarks
2323

24+
For a call to this method to be successful, the caller needs to fulfil one of these conditions:
25+
26+
* The caller is running in an AppContainer (Low IL) *and* it has the **packageManagement** restricted capability.
27+
* The caller is running with Medium IL, or higher.
28+
* The caller’s publisher matches the publisher of the package (or volume) being removed.
29+
30+
For descriptions of the terms above, and links to more info, see [Packaging, deployment, and process](/windows/apps/get-started/intro-pack-dep-proc).
31+
2432
## -examples
2533

2634
## -see-also

0 commit comments

Comments
 (0)