DSAzure.TAzureQueueService.GetMessageId
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: DSAzure.pas DSAzure.hpp
| |
| Unit: DSAzure | |
| Parent: TAzureQueueService | |
Delphi
function GetMessageId(const QueueMessage: String): String;
C++
System::UnicodeString __fastcall GetMessageId(const System::UnicodeString QueueMessage);
Description
Parses a message ID from a given XML string.
GetMessageId takes in an XML string representation of a queue message, and then parses and returns the MessageId value from within the XML. This is a convenience function; you can instead opt to parse the XML yourself. QueueMessage should be an XML, as it is returned from a function such as PeekMessages.