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

QueueServiceClient.CreateQueue 方法

定义

创建队列。

有关详细信息,请参阅 创建队列

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

参数

queueName
String

要创建的队列的名称。

返回

一个新创建的 Response<T>

适用于