Sdílet prostřednictvím


NamespaceManager.CreateQueueAsync Method

Definition

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