你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

QueueClient.SetMetadata 方法

定义

设置指定队列上的用户定义的元数据。 元数据以名称-值对的形式与队列相关联。

有关详细信息,请参阅 设置队列元数据

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

参数

返回

Response

适用于