Share via


PackageManager.RegisterPackageAsync Method

Definition

Overloads

RegisterPackageAsync(Uri, IIterable<Uri>, DeploymentOptions)

Registers a Package (the main package) and its dependency packages for the current user, using the specified deployment options.

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

Registers a Package (the main package) and its dependency packages on the specified volume for the current user, using the specified deployment options.

RegisterPackageAsync(Uri, IIterable<Uri>, DeploymentOptions)

Registers a Package (the main package) and its dependency packages for the current user, using the specified deployment options.

public:
 virtual IAsyncOperationWithProgress<DeploymentResult ^, DeploymentProgress> ^ RegisterPackageAsync(Uri ^ manifestUri, IIterable<Uri ^> ^ dependencyPackageUris, DeploymentOptions deploymentOptions) = RegisterPackageAsync;
/// [Windows.Foundation.Metadata.Overload("RegisterPackageAsync")]
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> RegisterPackageAsync(Uri const& manifestUri, IIterable<Uri> const& dependencyPackageUris, DeploymentOptions const& deploymentOptions);
[Windows.Foundation.Metadata.Overload("RegisterPackageAsync")]
public IAsyncOperationWithProgress<DeploymentResult,DeploymentProgress> RegisterPackageAsync(System.Uri manifestUri, IEnumerable<System.Uri> dependencyPackageUris, DeploymentOptions deploymentOptions);
function registerPackageAsync(manifestUri, dependencyPackageUris, deploymentOptions)
Public Function RegisterPackageAsync (manifestUri As Uri, dependencyPackageUris As IEnumerable(Of Uri), deploymentOptions As DeploymentOptions) As IAsyncOperationWithProgress(Of DeploymentResult, DeploymentProgress)

Parameters

manifestUri
Uri Uri

The Uri of the main package.

dependencyPackageUris

IIterable<Uri>

IEnumerable<Uri>

The Uris of the dependency packages.

deploymentOptions
DeploymentOptions

A bitwise combination of enumeration values from the DeploymentOptions enumeration that specify deployment options.

Returns

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

Attributes

See also

Applies to

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

Registers a Package (the main package) and its dependency packages on the specified volume for the current user, using the specified deployment options.

public:
 virtual IAsyncOperationWithProgress<DeploymentResult ^, DeploymentProgress> ^ RegisterPackageAsync(Uri ^ manifestUri, IIterable<Uri ^> ^ dependencyPackageUris, DeploymentOptions deploymentOptions, PackageVolume ^ appDataVolume) = RegisterPackageAsync;
/// [Windows.Foundation.Metadata.Overload("RegisterPackageWithAppDataVolumeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> RegisterPackageAsync(Uri const& manifestUri, IIterable<Uri> const& dependencyPackageUris, DeploymentOptions const& deploymentOptions, PackageVolume const& appDataVolume);
[Windows.Foundation.Metadata.Overload("RegisterPackageWithAppDataVolumeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<DeploymentResult,DeploymentProgress> RegisterPackageAsync(System.Uri manifestUri, IEnumerable<System.Uri> dependencyPackageUris, DeploymentOptions deploymentOptions, PackageVolume appDataVolume);
function registerPackageAsync(manifestUri, dependencyPackageUris, deploymentOptions, appDataVolume)
Public Function RegisterPackageAsync (manifestUri As Uri, dependencyPackageUris As IEnumerable(Of Uri), deploymentOptions As DeploymentOptions, appDataVolume As PackageVolume) As IAsyncOperationWithProgress(Of DeploymentResult, DeploymentProgress)

Parameters

manifestUri
Uri Uri

The Uri of the main package.

dependencyPackageUris

IIterable<Uri>

IEnumerable<Uri>

The Uris of the dependency packages.

deploymentOptions
DeploymentOptions

A bitwise combination of enumeration values from the DeploymentOptions enumeration that specify deployment options.

appDataVolume
PackageVolume

The volume on which the app stores data for the current user.

Returns

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

Attributes

See also

Applies to