PackageDeploymentManager.EnsurePackageReadyByUriAsync Method

Definition

Asynchronously determines, for a uri, whether the target package(s) is/are present (installed, registered) and ready for use; and, if not, puts them in that state. That can involve downloading the target, registering it for the user, and remediating a package in an unhealthy state.

public:
 virtual IAsyncOperationWithProgress<PackageDeploymentResult ^, PackageDeploymentProgress> ^ EnsurePackageReadyByUriAsync(Uri ^ packageUri, EnsureReadyOptions ^ options) = EnsurePackageReadyByUriAsync;
IAsyncOperationWithProgress<PackageDeploymentResult, PackageDeploymentProgress> EnsurePackageReadyByUriAsync(Uri const& packageUri, EnsureReadyOptions const& options);
public IAsyncOperationWithProgress<PackageDeploymentResult,PackageDeploymentProgress> EnsurePackageReadyByUriAsync(System.Uri packageUri, EnsureReadyOptions options);
function ensurePackageReadyByUriAsync(packageUri, options)
Public Function EnsurePackageReadyByUriAsync (packageUri As Uri, options As EnsureReadyOptions) As IAsyncOperationWithProgress(Of PackageDeploymentResult, PackageDeploymentProgress)

Parameters

packageUri
Uri Uri

The uri of the target package(s) to query about.

options
EnsureReadyOptions

Ensure-ready options for the operation.

Returns

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

Remarks

See Remarks for EnsurePackageReadyAsync.

Applies to