PackageManager.RegisterPackagesByFullNameAsync Method

Definition

Registers the specified Packages by their full name for the current user.

public:
 virtual IAsyncOperationWithProgress<DeploymentResult ^, DeploymentProgress> ^ RegisterPackagesByFullNameAsync(IIterable<Platform::String ^> ^ packageFullNames, RegisterPackageOptions ^ options) = RegisterPackagesByFullNameAsync;
/// [Windows.Foundation.Metadata.Overload("RegisterPackagesByFullNameAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> RegisterPackagesByFullNameAsync(IIterable<winrt::hstring> const& packageFullNames, RegisterPackageOptions const& options);
[Windows.Foundation.Metadata.Overload("RegisterPackagesByFullNameAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<DeploymentResult,DeploymentProgress> RegisterPackagesByFullNameAsync(IEnumerable<string> packageFullNames, RegisterPackageOptions options);
function registerPackagesByFullNameAsync(packageFullNames, options)
Public Function RegisterPackagesByFullNameAsync (packageFullNames As IEnumerable(Of String), options As RegisterPackageOptions) As IAsyncOperationWithProgress(Of DeploymentResult, DeploymentProgress)

Parameters

packageFullNames

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

The list of full names for the packages you want to register.

options
RegisterPackageOptions

The package registration options for the operation.

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.

Attributes

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Applies to

See also