Share via


PackageDeploymentManager.RepairPackageSetAsync(PackageSet) Method

Definition

Provides the same functionality as is available interactively via Windows Settings' Repair button on the detail page for an app (Apps > Installed apps > ... > Advanced options > Repair).

If this app isn't working right, we can try to repair it. The app's data won't be affected.

public:
 virtual IAsyncOperationWithProgress<PackageDeploymentResult ^, PackageDeploymentProgress> ^ RepairPackageSetAsync(PackageSet ^ packageSet) = RepairPackageSetAsync;
IAsyncOperationWithProgress<PackageDeploymentResult, PackageDeploymentProgress> RepairPackageSetAsync(PackageSet const& packageSet);
public IAsyncOperationWithProgress<PackageDeploymentResult,PackageDeploymentProgress> RepairPackageSetAsync(PackageSet packageSet);
function repairPackageSetAsync(packageSet)
Public Function RepairPackageSetAsync (packageSet As PackageSet) As IAsyncOperationWithProgress(Of PackageDeploymentResult, PackageDeploymentProgress)

Parameters

packageSet
PackageSet

The target package set to repair.

Returns

An asynchronous operation object which, when it completes, contains a value representing the result of the operation.

Applies to