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 .NET API Reference » iAnywhere.QAnywhere.Client namespace (.NET 1.0) » QAMessage interface

Address property Next Page

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 Message headers and message properties.