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);
Parameters
path
String

The path of the queue relative to the service namespace base address.

Returns

The QueueDescription of the newly created queue.

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);
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