DSAzure.TAzureQueueService.PeekMessages

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
DSAzure.pas
DSAzure.hpp
Unit: DSAzure
Parent: TAzureQueueService

Delphi

function PeekMessages(const QueueName: String; NumOfMessages: Integer): String;

C++

System::UnicodeString __fastcall PeekMessages(const System::UnicodeString QueueName, int NumOfMessages);

Description

Retrieves one or more messages from the queue without removing them.

PeekMessages is similar to GetMessages, but does not hide/remove the messages that get returned. You can control the number of messages that get returned with the NumOfMessages parameter, but the maximum is 32.

See Also