QueueClient.SetMetadataAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- metadata
- IDictionary<String,String>
- cancellationToken
- CancellationToken