PeekMessages Method
Retrieves a message from the front of the queue, without changing the message visibility.
Syntax
queuecontrol.PeekMessagesRemarks
This method retrieves messages from the queue specified by QueueName. Details of each returned message are available through the Message event or the Messages property.
By default, the control will retrieve only one message. Multiple messages may be retrieved by setting MaxResults.
This method differs from ListMessages in that it does not change the visibility of a message. The messages retrieved here will remain visible to other clients. This method will not populate MessagesPopReceipt.