DeleteMessageBuffer Method
Deletes the message buffer associated with this client.
Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
Syntax
'Declaration
Public Sub DeleteMessageBuffer
'Usage
Dim instance As MessageBufferClient
instance.DeleteMessageBuffer()
public void DeleteMessageBuffer()
public:
void DeleteMessageBuffer()
member DeleteMessageBuffer : unit -> unit
public function DeleteMessageBuffer()
Remarks
DeleteMessageBuffer()()()() is usually used if you wish to delete the buffer before the buffer lifespan runs out. You set the lifespan of the buffer when you create the buffer. Alternately, you can simply request a message from the buffer: any retrieve interaction with the buffer will automatically reset the lifespan of the buffer. For more information, see How to: Create an AppFabric Service Bus Message Buffer.
Deleting a message buffer more than once returns HTTP error 404.