PackageDeploymentManager.EnsurePackageReadyByUriAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.