Partager via


QueueServiceClient.CreateQueueAsync Méthode

Définition

Crée une file d’attente.

Pour plus d'informations, consultez la rubrique Créer une file d’attente.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Queues.QueueClient>> CreateQueueAsync (string queueName, System.Collections.Generic.IDictionary<string,string> metadata = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateQueueAsync : string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Queues.QueueClient>>
override this.CreateQueueAsync : string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Queues.QueueClient>>
Public Overridable Function CreateQueueAsync (queueName As String, Optional metadata As IDictionary(Of String, String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of QueueClient))

Paramètres

queueName
String

Nom de la file d’attente à créer.

Retours

Response<T> qui vient d'être créé.

S’applique à