Share via


QueueClient.SetMetadataAsync 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 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)

Parameters

Returns

Response

Applies to