Gets the message's expiration value.
Visual Basic
Public Readonly Property Expiration As Date
C#
public DateTime Expiration {get;}
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 Message headers and message properties.