QueueClient.PeekLock Method

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

Retrieves a message from the queue using a peek/lock methodology.

The Peek/Lock retrieval pattern provides resilience against message loss if the message were to be lost in transfer or if the receiver were unable to process the message due to unexpected events.

Overload List

Name Description
QueueClient.PeekLock () Retrieves a message from the queue using the Peek/Lock methodology.
QueueClient.PeekLock (TimeSpan) Retrieves the next message from the queue, using a specified timeout value.

See Also

Reference

QueueClient Class
QueueClient Members
Microsoft.ServiceBus Namespace

Did you find this information useful? Please send your suggestions and comments about the documentation.