Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » QAnywhere » QAnywhere C++ API Reference » QAMessage class

getLongProperty function Next Page

getMessageID function


Synopsis

qa_const_string QAMessage::getMessageID()

Remarks

Gets the message ID.

The MessageID header field contains a value that uniquely identifies each message sent by the QAnywhere client.

When a message is sent using QAManagerBaseputMessage method, the MessageID header is null and can be ignored. When the send method returns, it contains an assigned value.

A MessageID is a qa_string value that should function as a unique key for identifying messages in a historical repository.

For more information about getting and setting message headers and properties, see Message headers and message properties.

Returns

The message ID.