PubID property: Message class
Description
This property refers to the publication identifier, which is a number.
Note:
This property has been desupported and remains for backward compatibility only. Use the Message class QueueSeqId property instead.
See QueueSeqId property: Message class.
It’s generated for asynchronous messages when the message is published, and is sequential, based on the number of messages published for that channel. The message instance keys are a subset of the publication and subscription contract keys. This property is one of the message instance keys: the others are ChannelName and PubNodeName.
Note:
The PubID property is not populated when the message is published from a notification.
This property is valid only with asynchronous messages.
This property is read-only.
Example
&MSG.Publish();
&PUBID = &MSG.PubID;