QueueClient.SetMetadata 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 Azure.Response SetMetadata (System.Collections.Generic.IDictionary<string,string> metadata, System.Threading.CancellationToken cancellationToken = default);
abstract member SetMetadata : System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> Azure.Response
override this.SetMetadata : System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function SetMetadata (metadata As IDictionary(Of String, String), Optional cancellationToken As CancellationToken = Nothing) As 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