Data.Cloud.CloudAPI.TCloudQueueMessage.Create

From RAD Studio API Documentation
Jump to: navigation, search

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

MessageId

The value to set as the message's unique ID

MessageText

The value to set as the message's text

Properties

The properties to set on the message

See Also