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

QueueClient.SetMetadata Method

Definition

Sets user-defined metadata on the specified queue. Metadata is associated with the queue as name-value pairs.

For more information, see Set Queue Metadata.

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

Parameters

Returns

Response

Applies to