次の方法で共有


PackageDeploymentManager.ResetPackageSetAsync(PackageSet) Method

Definition

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

If this app still isn't working right, reset it. The app's data will be deleted.

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

Parameters

packageSet
PackageSet

The target package set to reset.

Returns

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

Applies to