QueueClient.SetMetadataAsync 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.
Définit les métadonnées définies par l’utilisateur sur la file d’attente spécifiée. Les métadonnées sont associées à la file d'attente en tant que paires nom-valeur.
Pour plus d'informations, consultez la rubrique Définissez les métadonnées de file d’attente.
public virtual System.Threading.Tasks.Task<Azure.Response> SetMetadataAsync (System.Collections.Generic.IDictionary<string,string> metadata, System.Threading.CancellationToken cancellationToken = default);
abstract member SetMetadataAsync : System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.SetMetadataAsync : System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function SetMetadataAsync (metadata As IDictionary(Of String, String), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)
Paramètres
- metadata
- IDictionary<String,String>
- cancellationToken
- CancellationToken
Retours
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