PeekMessages Method
Retrieves a message from the front of the queue, without changing the message visibility.
Syntax
void __fastcall PeekMessages();Remarks
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 component 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.