PackageManager.RegisterPackageAsync Methode

Definition

Überlädt

RegisterPackageAsync(Uri, IIterable<Uri>, DeploymentOptions)

Registriert ein Paket (das Standard-Paket) und dessen Abhängigkeitspakete für den aktuellen Benutzer unter Verwendung der angegebenen Bereitstellungsoptionen.

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

Registriert ein Paket (das Standard-Paket) und dessen Abhängigkeitspakete auf dem angegebenen Volume für den aktuellen Benutzer unter Verwendung der angegebenen Bereitstellungsoptionen.

RegisterPackageAsync(Uri, IIterable<Uri>, DeploymentOptions)

Registriert ein Paket (das Standard-Paket) und dessen Abhängigkeitspakete für den aktuellen Benutzer unter Verwendung der angegebenen Bereitstellungsoptionen.

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)

Parameter

manifestUri
Uri Uri

Der URI des Standard-Pakets.

dependencyPackageUris

IIterable<Uri>

IEnumerable<Uri>

Die URIs der Abhängigkeitspakete.

deploymentOptions
DeploymentOptions

Eine bitweise Kombination von Enumerationswerten aus der DeploymentOptions-Enumeration , die Bereitstellungsoptionen angibt.

Gibt zurück

Ein Objekt, das der Aufrufer beobachten kann, um den Status und den Abschluss des Aufrufs nachzuverfolgen. Das -Objekt implementiert das Muster IAsyncOperationWithProgress .

Attribute

Weitere Informationen

Gilt für:

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

Registriert ein Paket (das Standard-Paket) und dessen Abhängigkeitspakete auf dem angegebenen Volume für den aktuellen Benutzer unter Verwendung der angegebenen Bereitstellungsoptionen.

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)

Parameter

manifestUri
Uri Uri

Der URI des Standard-Pakets.

dependencyPackageUris

IIterable<Uri>

IEnumerable<Uri>

Die URIs der Abhängigkeitspakete.

deploymentOptions
DeploymentOptions

Eine bitweise Kombination von Enumerationswerten aus der DeploymentOptions-Enumeration , die Bereitstellungsoptionen angibt.

appDataVolume
PackageVolume

Das Volume, auf dem die App Daten für den aktuellen Benutzer speichert.

Gibt zurück

Ein Objekt, das der Aufrufer beobachten kann, um den Status und den Abschluss des Aufrufs nachzuverfolgen. Das -Objekt implementiert das Muster IAsyncOperationWithProgress .

Attribute

Weitere Informationen

Gilt für: