Windows Dev Center

InstallationManager.RemovePackageAsync | removePackageAsync method

Removes a package for the current user asynchronously and receives progress and status messages on the removal operation. Dependency packages are also removed for the user if no other packages installed for the user depend on them.

Syntax


Windows.Phone.Management.Deployment.InstallationManager.removePackageAsync(packageFullName, removalOptions).done( /* Your success and error handlers */ );

Parameters

packageFullName

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

A string representation of the package identity to identify the package to be removed.

removalOptions

Type: RemovalOptions

Options that modify the removal operation.

Return value

Type: IAsyncOperationWithProgress<PackageInstallResult, UInt32>

An object that represents the asynchronous removal operation and includes progress updates.

Requirements (Windows 10 device family)

Device family

Mobile

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.Management.Deployment
Windows::Phone::Management::Deployment [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Phone.Management.Deployment
Windows::Phone::Management::Deployment [C++]

Metadata

Windows.WinMD

See also

InstallationManager

 

 

Community Additions

ADD
Show:
© 2015 Microsoft