Data.Cloud.CloudAPI.TCloudQueueMessage.Create
Delphi
constructor Create(const MessageId, MessageText: string); overload;
constructor Create(const MessageId, MessageText: string; Properties: TStrings); overload;
C++
__fastcall TCloudQueueMessage(const System::UnicodeString MessageId, const System::UnicodeString MessageText)/* overload */;
__fastcall TCloudQueueMessage(const System::UnicodeString MessageId, const System::UnicodeString MessageText, System::Classes::TStrings* Properties)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Data.Cloud.CloudAPI.pas Data.Cloud.CloudAPI.hpp |
Data.Cloud.CloudAPI | TCloudQueueMessage |
Description
Creates a new instance of TCloudQueueMessage with the given connection information.
There are two Create overloaded methods. With the second one you can provide the properties to set on the message.
The following table shows the significance of the parameters:
Parameter | Description |
---|---|
|
The value to set as the message's unique ID |
|
The value to set as the message's text |
|
The properties to set on the message |