PackageManager.StagePackageAsync(Uri, IIterable(Uri), DeploymentOptions) | stagePackageAsync(Uri, IIterable(Uri), DeploymentOptions) method

Applies to Windows only

Stages a package to the system without registering it.

Syntax


public:
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress>^ StagePackageAsync(
  Uri^ packageUri, 
  IIterable<Uri^>^ dependencyPackageUris, 
  DeploymentOptions deploymentOptions
)

Parameters

packageUri

Type: Windows.Foundation.Uri [JavaScript] | System.Uri [.NET] | Windows::Foundation::Uri [C++]

The source URI of the main package.

dependencyPackageUris

Type: IIterable<Uri> [JavaScript/C++] | System.Collections.Generic.IEnumerable<Uri> [.NET]

The source URIs of the dependency packages. If there are no dependency packages or dependency packages are already staged, this parameter can be null.

deploymentOptions

Type: DeploymentOptions

A combination of DeploymentOptions-typed values that are combined by using a bitwise OR operation. The resulting value specifies the package deployment options.

Return value

Type: IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress>

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

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Management.Deployment
Windows::Management::Deployment [C++]

Metadata

Windows.winmd

See also

PackageManager
StagePackageAsync(Uri, IIterable(Uri))

 

 

Show:
© 2014 Microsoft