CodePackageActivationContext.GetDataPackage(String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Attention
Use GetDataPackageObject method.
Récupère le DataPackageDescription par nom.
Cette méthode est obsolète. Utilisez GetDataPackageObject(String).
[System.Obsolete("Use GetDataPackageObject method.")]
public System.Fabric.Description.DataPackageDescription GetDataPackage (string packageName);
[<System.Obsolete("Use GetDataPackageObject method.")>]
member this.GetDataPackage : string -> System.Fabric.Description.DataPackageDescription
Public Function GetDataPackage (packageName As String) As DataPackageDescription
Paramètres
- packageName
- String
Nom du package à rechercher
Retours
Retourne DataPackageDescription.
- Attributs
Exceptions
Le packageName est introuvable dans le manifeste du service.
S’applique à
Azure SDK for .NET
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour