PackageManager.RegisterPackagesByFullNameAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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)
|