Freigeben über


PackageDeploymentManager.ResetPackageByUriAsync(Uri) 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> ^ ResetPackageByUriAsync(Uri ^ packageUri) = ResetPackageByUriAsync;
IAsyncOperationWithProgress<PackageDeploymentResult, PackageDeploymentProgress> ResetPackageByUriAsync(Uri const& packageUri);
public IAsyncOperationWithProgress<PackageDeploymentResult,PackageDeploymentProgress> ResetPackageByUriAsync(System.Uri packageUri);
function resetPackageByUriAsync(packageUri)
Public Function ResetPackageByUriAsync (packageUri As Uri) As IAsyncOperationWithProgress(Of PackageDeploymentResult, PackageDeploymentProgress)

Parameters

packageUri
Uri Uri

The uri of the target package(s) to reset.

Returns

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

Applies to