PackageManager.StagePackageAsync PackageManager.StagePackageAsync PackageManager.StagePackageAsync PackageManager.StagePackageAsync Method

Definition

Overloads

StagePackageAsync(Uri, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>)

Stages a package to the system without registering it.

StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions)

Stages a package to the system without registering it.

StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume)

Stages a package to the system without registering it.

StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume, IIterable<String>, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume, IIterable<String>, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume, IIterable<String>, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume, IIterable<String>, IIterable<Uri>)

Stages a package to the system without registering it.

StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume, IIterable<String>, IIterable<Uri>, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume, IIterable<String>, IIterable<Uri>, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume, IIterable<String>, IIterable<Uri>, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume, IIterable<String>, IIterable<Uri>, IIterable<Uri>)

Stages a package to the system without registering it.

StagePackageAsync(Uri, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>)

Stages a package to the system without registering it.

public : IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> StagePackageAsync(Uri packageUri, IIterable<Uri> dependencyPackageUris)
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> StagePackageAsync(Uri packageUri, IIterable<Uri> dependencyPackageUris) const;
public IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> StagePackageAsync(Uri packageUri, IEnumerable<Uri> dependencyPackageUris)
Public Function StagePackageAsync(packageUri As Uri, dependencyPackageUris As IEnumerable(Of Uri)) As IAsyncOperationWithProgress(Of DeploymentResultDeploymentProgress)

Parameters

packageUri
Uri Uri

The source URI of the main package.

dependencyPackageUris
IEnumerable<Uri> IEnumerable<Uri>

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

Returns

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.

Remarks

The stage operation will extract the package payload to disk under %ProgramFiles%\WindowsApps.

See also

StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions)

Stages a package to the system without registering it.

public : IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> StagePackageAsync(Uri packageUri, IIterable<Uri> dependencyPackageUris, DeploymentOptions deploymentOptions)
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> StagePackageAsync(Uri packageUri, IIterable<Uri> dependencyPackageUris, DeploymentOptions deploymentOptions) const;
public IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> StagePackageAsync(Uri packageUri, IEnumerable<Uri> dependencyPackageUris, DeploymentOptions deploymentOptions)
Public Function StagePackageAsync(packageUri As Uri, dependencyPackageUris As IEnumerable(Of Uri), deploymentOptions As DeploymentOptions) As IAsyncOperationWithProgress(Of DeploymentResultDeploymentProgress)

Parameters

packageUri
Uri Uri

The source URI of the main package.

dependencyPackageUris
IEnumerable<Uri> IEnumerable<Uri>

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
DeploymentOptions DeploymentOptions

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

Returns

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.

See also

StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume)

Stages a package to the system without registering it.

public : IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> StagePackageAsync(Uri packageUri, IIterable<Uri> dependencyPackageUris, DeploymentOptions deploymentOptions, PackageVolume targetVolume)
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> StagePackageAsync(Uri packageUri, IIterable<Uri> dependencyPackageUris, DeploymentOptions deploymentOptions, PackageVolume targetVolume) const;
public IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> StagePackageAsync(Uri packageUri, IEnumerable<Uri> dependencyPackageUris, DeploymentOptions deploymentOptions, PackageVolume targetVolume)
Public Function StagePackageAsync(packageUri As Uri, dependencyPackageUris As IEnumerable(Of Uri), deploymentOptions As DeploymentOptions, targetVolume As PackageVolume) As IAsyncOperationWithProgress(Of DeploymentResultDeploymentProgress)

Parameters

packageUri
Uri Uri

The source URI of the main package.

dependencyPackageUris
IEnumerable<Uri> IEnumerable<Uri>

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
DeploymentOptions DeploymentOptions

A bitwise combination of enumeration values from the DeploymentOptions enumeration. The resulting value specifies the package deployment options.

targetVolume
PackageVolume PackageVolume

The target volume on which to stage the package.

Returns

An object that the caller can observe to track progress and completion for the call. The object implements the IAsyncOperationWithProgress pattern.

See also

StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume, IIterable<String>, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume, IIterable<String>, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume, IIterable<String>, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume, IIterable<String>, IIterable<Uri>)

Stages a package to the system without registering it.

public : IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> StagePackageAsync(Uri packageUri, IIterable<Uri> dependencyPackageUris, DeploymentOptions deploymentOptions, PackageVolume targetVolume, IIterable<Platform::String> optionalPackageFamilyNames, IIterable<Uri> externalPackageUris)
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> StagePackageAsync(Uri packageUri, IIterable<Uri> dependencyPackageUris, DeploymentOptions deploymentOptions, PackageVolume targetVolume, IIterable<winrt::hstring> optionalPackageFamilyNames, IIterable<Uri> externalPackageUris) const;
public IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> StagePackageAsync(Uri packageUri, IEnumerable<Uri> dependencyPackageUris, DeploymentOptions deploymentOptions, PackageVolume targetVolume, IEnumerable<String> optionalPackageFamilyNames, IEnumerable<Uri> externalPackageUris)
Public Function StagePackageAsync(packageUri As Uri, dependencyPackageUris As IEnumerable(Of Uri), deploymentOptions As DeploymentOptions, targetVolume As PackageVolume, optionalPackageFamilyNames As IEnumerable(Of String), externalPackageUris As IEnumerable(Of Uri)) As IAsyncOperationWithProgress(Of DeploymentResultDeploymentProgress)

Parameters

packageUri
Uri Uri

The source URI of the main package.

dependencyPackageUris
IEnumerable<Uri> IEnumerable<Uri>

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
DeploymentOptions DeploymentOptions

A bitwise combination of enumeration values from the DeploymentOptions enumeration. The resulting value specifies the package deployment options.

targetVolume
PackageVolume PackageVolume

The target volume on which to stage the package.

optionalPackageFamilyNames
IEnumerable<String> IEnumerable<String>

Strings that specify the optional package family names from the main bundle to be staged.

externalPackageUris
IEnumerable<Uri> IEnumerable<Uri>

The source URIs of other packages in the main bundle to be staged.

Returns

An object that the caller can observe to track progress and completion for the call. The object implements the IAsyncOperationWithProgress pattern.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume, IIterable<String>, IIterable<Uri>, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume, IIterable<String>, IIterable<Uri>, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume, IIterable<String>, IIterable<Uri>, IIterable<Uri>) StagePackageAsync(Uri, IIterable<Uri>, DeploymentOptions, PackageVolume, IIterable<String>, IIterable<Uri>, IIterable<Uri>)

Stages a package to the system without registering it.

public : IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> StagePackageAsync(Uri packageUri, IIterable<Uri> dependencyPackageUris, DeploymentOptions options, PackageVolume targetVolume, IIterable<Platform::String> optionalPackageFamilyNames, IIterable<Uri> packageUrisToInstall, IIterable<Uri> relatedPackageUris)
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> StagePackageAsync(Uri packageUri, IIterable<Uri> dependencyPackageUris, DeploymentOptions options, PackageVolume targetVolume, IIterable<winrt::hstring> optionalPackageFamilyNames, IIterable<Uri> packageUrisToInstall, IIterable<Uri> relatedPackageUris) const;
public IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> StagePackageAsync(Uri packageUri, IEnumerable<Uri> dependencyPackageUris, DeploymentOptions options, PackageVolume targetVolume, IEnumerable<String> optionalPackageFamilyNames, IEnumerable<Uri> packageUrisToInstall, IEnumerable<Uri> relatedPackageUris)
Public Function StagePackageAsync(packageUri As Uri, dependencyPackageUris As IEnumerable(Of Uri), options As DeploymentOptions, targetVolume As PackageVolume, optionalPackageFamilyNames As IEnumerable(Of String), packageUrisToInstall As IEnumerable(Of Uri), relatedPackageUris As IEnumerable(Of Uri)) As IAsyncOperationWithProgress(Of DeploymentResultDeploymentProgress)

Parameters

packageUri
Uri Uri

The source URI of the main package.

dependencyPackageUris
IEnumerable<Uri> IEnumerable<Uri>

The URIs of framework dependencies to add. If there are no dependency packages or if the dependency packages are already registered, this parameter can be null.

options
DeploymentOptions DeploymentOptions

The deployment options for the package.

targetVolume
PackageVolume PackageVolume

The volume to which the package is added.

optionalPackageFamilyNames
IEnumerable<String> IEnumerable<String>

The package family names from the main bundle to be staged.

packageUrisToInstall
IEnumerable<Uri> IEnumerable<Uri>
relatedPackageUris
IEnumerable<Uri> IEnumerable<Uri>

The URIs of additional packages in the main bundle that should be staged.

Returns

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.

Additional features and requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)