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

SQL Anywhere 11.0.0 » QAnywhere » QAnywhere API Reference » QAnywhere .NET API reference » iAnywhere.QAnywhere.Client namespace (.NET 2.0) » QAMessage interface

 

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.