QueueClient.DeleteQueue Method

[This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Deletes the current queue, and irrecoverably discards all messages that the Queue currently holds.

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

Usage

    Dim instance As QueueClient

instance.DeleteQueue

Syntax

'Declaration
Public Sub DeleteQueue
public void DeleteQueue ()
public:
void DeleteQueue ()
public void DeleteQueue ()
public function DeleteQueue ()

Remarks

The operation requires ‘Manage’ permission on the Queue.

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

QueueClient Class
QueueClient Members
Microsoft.ServiceBus Namespace