DSAzure.TAzureQueueService.PeekMessages

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
function public
DSAzure.pas
DSAzure.hpp
DSAzure TAzureQueueService

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