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

IStorageQueueManagement.CreateQueueIfNotExists Method

Definition

Overloads

CreateQueueIfNotExists(CloudQueue, QueueRequestOptions, OperationContext)

Create an cloud queue on azure if not exists.

CreateQueueIfNotExists(CloudQueue, QueueRequestOptions, OperationContext)

CreateQueueIfNotExists(CloudQueue, QueueRequestOptions, OperationContext)

Create an cloud queue on azure if not exists.

public bool CreateQueueIfNotExists (Microsoft.Azure.Storage.Queue.CloudQueue queue, Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
abstract member CreateQueueIfNotExists : Microsoft.Azure.Storage.Queue.CloudQueue * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> bool
Public Function CreateQueueIfNotExists (queue As CloudQueue, options As QueueRequestOptions, operationContext As OperationContext) As Boolean

Parameters

queue
CloudQueue

Cloud queue object.

options
QueueRequestOptions

Queue request options

operationContext
OperationContext

Operation context

Returns

True if the queue did not already exist and was created; otherwise false.

Applies to

CreateQueueIfNotExists(CloudQueue, QueueRequestOptions, OperationContext)

public bool CreateQueueIfNotExists (Microsoft.WindowsAzure.Storage.Queue.CloudQueue queue, Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
abstract member CreateQueueIfNotExists : Microsoft.WindowsAzure.Storage.Queue.CloudQueue * Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> bool
Public Function CreateQueueIfNotExists (queue As CloudQueue, options As QueueRequestOptions, operationContext As OperationContext) As Boolean

Parameters

queue
CloudQueue
operationContext
OperationContext

Returns

Applies to