你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StorageQueueManagement.CreateQueueIfNotExists 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.
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
override this.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.
Implements
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
override this.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
- options
- QueueRequestOptions
- operationContext
- OperationContext