Data.Cloud.AzureAPI.TAzureQueueService.ClearMessages
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Data.Cloud.AzureAPI.pas Data.Cloud.AzureAPI.hpp
| |
Unit: Data.Cloud.AzureAPI | |
Parent: TAzureQueueService |
Delphi
function ClearMessages(const QueueName: string;
ResponseInfo: TCloudResponseInfo = nil): Boolean;
C++
bool __fastcall ClearMessages(const System::UnicodeString QueueName, Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0));
Description
Clears the messages from the given queue.
ClearMessages clears the messages from the given QueueName
.
The following table shows the significance of the parameters:
Parameter | Description |
---|---|
QueueName |
The name of the queue to delete all messages from. |
ResponseInfo |
The optional class for storing response info into. |
The method returns True if the operation is successful, and False otherwise.