Expiration property

Gets the message's expiration value.

Syntax
Visual Basic
Public Readonly Property Expiration As Date
C#
public DateTime Expiration {get;}
Remarks

When a message is sent, the Expiration header field is left unassigned. After completion of the send method, it holds the expiration time of the message.

This is a read-only property because the expiration time of a message is set by adding the time-to-live argument of QAManagerBase::PutMessageTimeToLive to the current time.

For more information about getting and setting message headers and properties, see Introduction to QAnywhere messages.