InstallationManager.RemovePackageAsync(String, RemovalOptions) InstallationManager.RemovePackageAsync(String, RemovalOptions) InstallationManager.RemovePackageAsync(String, RemovalOptions) InstallationManager.RemovePackageAsync(String, RemovalOptions) Method

Definition

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.

public : static IAsyncOperationWithProgress<PackageInstallResult, unsigned int> RemovePackageAsync(Platform::String packageFullName, RemovalOptions removalOptions)
static IAsyncOperationWithProgress<PackageInstallResult, uint32_t> RemovePackageAsync(winrt::hstring packageFullName, RemovalOptions removalOptions) const;
public static IAsyncOperationWithProgress<PackageInstallResult, uint> RemovePackageAsync(String packageFullName, RemovalOptions removalOptions)
Public Shared Function RemovePackageAsync(packageFullName As String, removalOptions As RemovalOptions) As IAsyncOperationWithProgress(Of PackageInstallResultuint)

Parameters

packageFullName
String String

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

removalOptions
RemovalOptions RemovalOptions

Options that modify the removal operation.

Returns

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