SALES: 1-800-867-1380

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft