QueueOperationsExtensions.CreateAsync 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.
Creates a new queue. Once created, this queue's resource manifest is immutable. This operation is idempotent. Repeating the create call, after a queue with same name has been created successfully, will result in a 409 Conflict error message. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj856295.aspx for more information)
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusQueueResponse> CreateAsync (this Microsoft.WindowsAzure.Management.ServiceBus.IQueueOperations operations, string namespaceName, Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusQueueCreateParameters queue);
static member CreateAsync : Microsoft.WindowsAzure.Management.ServiceBus.IQueueOperations * string * Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusQueueCreateParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusQueueResponse>
<Extension()>
Public Function CreateAsync (operations As IQueueOperations, namespaceName As String, queue As ServiceBusQueueCreateParameters) As Task(Of ServiceBusQueueResponse)
Parameters
- operations
- IQueueOperations
Reference to the Microsoft.WindowsAzure.Management.ServiceBus.IQueueOperations.
- namespaceName
- String
Required. The namespace name.
Required. The service bus queue.
Returns
A response to a request for a particular queue.
Applies to
Azure SDK for .NET