QueueManagementClient.DeleteQueue Method
[This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Deletes the specified queue.
Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus (in microsoft.servicebus.dll)
Usage
Dim credential As TransportClientEndpointBehavior
Dim queueUri As UriQueueManagementClient.DeleteQueue(credential, queueUri)
Syntax
'Declaration
Public Shared Sub DeleteQueue ( _
credential As TransportClientEndpointBehavior, _
queueUri As Uri _
)
public static void DeleteQueue (
TransportClientEndpointBehavior credential,
Uri queueUri
)
public:
static void DeleteQueue (
TransportClientEndpointBehavior^ credential,
Uri^ queueUri
)
public static void DeleteQueue (
TransportClientEndpointBehavior credential,
Uri queueUri
)
public static function DeleteQueue (
credential : TransportClientEndpointBehavior,
queueUri : Uri
)
Parameters
- credential
The credentials for deleting the Queue.
- queueUri
The URI of the queue to delete.
Remarks
This operation requires ‘Manage’ permission on the given Service Bus namespace URI for the caller.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000
Target Platforms
See Also
Reference
QueueManagementClient Class
QueueManagementClient Members
Microsoft.ServiceBus Namespace