NamespaceManager.CreateQueueAsync 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
CreateQueueAsync(String) |
Asynchronously creates a new queue in the service namespace with the given path. |
CreateQueueAsync(QueueDescription) |
Asynchronously creates a new queue in the service namespace with the specified queue description. |
CreateQueueAsync(String)
Asynchronously creates a new queue in the service namespace with the given path.
public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.QueueDescription> CreateQueueAsync (string path);
member this.CreateQueueAsync : string -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.QueueDescription>
Public Function CreateQueueAsync (path As String) As Task(Of QueueDescription)
Parameters
- path
- String
The path of the queue relative to the service namespace base address.
Returns
The QueueDescription of the newly created queue.
Applies to
CreateQueueAsync(QueueDescription)
Asynchronously creates a new queue in the service namespace with the specified queue description.
public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.QueueDescription> CreateQueueAsync (Microsoft.ServiceBus.Messaging.QueueDescription description);
member this.CreateQueueAsync : Microsoft.ServiceBus.Messaging.QueueDescription -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.QueueDescription>
Public Function CreateQueueAsync (description As QueueDescription) As Task(Of QueueDescription)
Parameters
- description
- QueueDescription
A QueueDescription object describing the attributes with which the new queue will be created.
Returns
The QueueDescription of the newly created queue.
Applies to
Azure SDK for .NET