Share via


Retrieve Method

Retrieves a message from the message buffer.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Retrieve() () () () Retrieves the first message from the message buffer.
Public method Retrieve(TimeSpan) Retrieves the first message from the message buffer, using the specified timeout.

Top

Remarks

Using this method retrieves the first available message from the message buffer, and deletes that message from the buffer. This is in contrast to the peek/lock retrieval methods, which do not delete the message from the buffer. For more information, see How to: Retrieve a Message from an AppFabric Service Bus Message Buffer.

See Also

Reference

MessageBufferClient Class

Microsoft.ServiceBus Namespace