SALES: 1-800-867-1380
Collapse the table of content
Expand the table of content
Expand Minimize

NamespaceManager.UpdateQueue Method (QueueDescription)


Enables you to update the queue.

Namespace:   Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

No code example is currently available or this language may not be supported.


Type: Microsoft.ServiceBus.Messaging.QueueDescription

A QueueDescription object describing the queue to be updated.

Return Value

Type: Microsoft.ServiceBus.Messaging.QueueDescription

The QueueDescription of the updated queue.

You can update the queue based on the value of the EntityStatus enumeration.

QueueDescription qd = namespaceManager.GetQueue("myQ");
qd.Status = EntityStatus.Disabled;
qd.Status = EntityStatus.Active;
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft