CloudQueue.CreateIfNotExistsAsync Method (Microsoft.WindowsAzure.Storage.Queue)
From Microsoft.WindowsAzure.Storage.Queue
C#
C++
F#
VB
Creates the queue if it does not already exist.
Namespace:
Microsoft.WindowsAzure.Storage.Queue
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
abstract CreateIfNotExistsAsync : unit -> Task<bool>
override CreateIfNotExistsAsync : unit -> Task<bool>
Return Value
Type:
System.Threading.Tasks.Task<Boolean>System.Threading.Tasks::Task<Boolean>^System.Threading.Tasks.Task<Boolean>System.Threading.Tasks.Task(Of Boolean)true if the queue did not already exist and was created; otherwise, false.
Remarks
This API performs an existence check and therefore requires read permissions.
See Also
CreateIfNotExistsAsync Overload
CloudQueue Class
Microsoft.WindowsAzure.Storage.Queue Namespace
Return to top
Creates the queue if it does not already exist.
Syntax
abstract CreateIfNotExistsAsync : unit -> Task<bool> override CreateIfNotExistsAsync : unit -> Task<bool>
Return Value
Type: System.Threading.Tasks.Task<Boolean>System.Threading.Tasks::Task<Boolean>^System.Threading.Tasks.Task<Boolean>System.Threading.Tasks.Task(Of Boolean)true if the queue did not already exist and was created; otherwise, false.
Remarks
This API performs an existence check and therefore requires read permissions.
See Also
CreateIfNotExistsAsync Overload
CloudQueue Class
Microsoft.WindowsAzure.Storage.Queue Namespace