Share via


PackageDeploymentManager.StagePackageByUriAsync Method

Definition

Stages a Package to the system without registering it.

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

Parameters

packageUri
Uri Uri

The source URI of the main package.

options
StagePackageOptions

The deployment options for the package.

Returns

The status of the deployment request. The PackageDeploymentResult contains the final returned value of the deployment operation, once it is completed. The PackageDeploymentProgress can be used to obtain the percentage of completion over the entire course of the deployment operation.

Applies to

See also