PackageManager.RegisterPackageAsync Metodo

Definizione

Overload

RegisterPackageAsync(Uri, IIterable<Uri>, DeploymentOptions)

Registra un pacchetto (il pacchetto principale) e i relativi pacchetti di dipendenza per l'utente corrente, usando le opzioni di distribuzione specificate.

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

Registra un pacchetto (il pacchetto principale) e i relativi pacchetti di dipendenza nel volume specificato per l'utente corrente, usando le opzioni di distribuzione specificate.

RegisterPackageAsync(Uri, IIterable<Uri>, DeploymentOptions)

Registra un pacchetto (il pacchetto principale) e i relativi pacchetti di dipendenza per l'utente corrente, usando le opzioni di distribuzione specificate.

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)

Parametri

manifestUri
Uri Uri

Uri del pacchetto principale.

dependencyPackageUris

IIterable<Uri>

IEnumerable<Uri>

Uri dei pacchetti di dipendenza.

deploymentOptions
DeploymentOptions

Combinazione bit per bit dei valori di enumerazione dall'enumerazione DeploymentOptions che specifica le opzioni di distribuzione.

Restituisce

Oggetto che il chiamante può osservare per tenere traccia dello stato di avanzamento e del completamento della chiamata. L'oggetto implementa il modello IAsyncOperationWithProgress .

Attributi

Vedi anche

Si applica a

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

Registra un pacchetto (il pacchetto principale) e i relativi pacchetti di dipendenza nel volume specificato per l'utente corrente, usando le opzioni di distribuzione specificate.

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)

Parametri

manifestUri
Uri Uri

Uri del pacchetto principale.

dependencyPackageUris

IIterable<Uri>

IEnumerable<Uri>

Uri dei pacchetti di dipendenza.

deploymentOptions
DeploymentOptions

Combinazione bit per bit dei valori di enumerazione dall'enumerazione DeploymentOptions che specifica le opzioni di distribuzione.

appDataVolume
PackageVolume

Volume in cui l'app archivia i dati per l'utente corrente.

Restituisce

Oggetto che il chiamante può osservare per tenere traccia dello stato di avanzamento e del completamento della chiamata. L'oggetto implementa il modello IAsyncOperationWithProgress .

Attributi

Vedi anche

Si applica a