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

DeleteMessageBuffer Method

Deletes the message buffer associated with this client.

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

public void DeleteMessageBuffer()

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.

Community Additions

Show:
© 2016 Microsoft