Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.84 KB

packagemanager_updatepackageasync_1181217661.md

File metadata and controls

38 lines (26 loc) · 1.84 KB
-api-id -api-type
M:Windows.Management.Deployment.PackageManager.UpdatePackageAsync(Windows.Foundation.Uri,Windows.Foundation.Collections.IIterable{Windows.Foundation.Uri},Windows.Management.Deployment.DeploymentOptions)
winrt method

Windows.Management.Deployment.PackageManager.UpdatePackageAsync

-description

Updates an installed Package or its dependency packages for the current user.

-parameters

-param packageUri

The source URI of the main package.

-param dependencyPackageUris

The source URIs of the dependency packages.

-param deploymentOptions

One of the permitted enumeration values. ForceApplicationShutdown and None are the only valid options for this method and specifying any other deployment option results in an E_INVALIDARG return value.

-returns

The status of the deployment request. The DeploymentResult contains the final returned value of the deployment operation, once it is completed. The DeploymentProgress can be used to obtain the percentage of completion over the entire course of the deployment operation.

-remarks

An installed package can be updated only if the version of the update package is higher than that of the installed package. If no previous version of the package exists, the operation fails.

-examples

-see-also

Package

-capabilities

packageManagement