Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 1 (10.1)

Part Number B10119-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

GetExpiration Method

Applies To

OAQMsg

Description

Gets in seconds, the time for which the message is available for dequeuing.

Usage

int GetExpiration(void) const throw(OException)

Arguments

none

Remarks

This property is an offset from the delay. It is applicable only for a message that is being enqueued. Possible return values are:

· Any integer

· OAQ_MSG_NO_EXPIRE (0) (Default) The message will never expire.