Share via


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