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

SetDelay Method

Applies To

OAQMsg

Description

Specifies the number of seconds to delay this enqueued message.

Usage

void SetDelay(int delay) const throw(OException)

Arguments

delay
An integer specifying the number of seconds to delay.
Remarks

Sets the number of seconds to delay the immediate consumption of the message. It is applicable only for a message that is enqueued.

This delay represents the seconds after which the message is available for dequeuing. Possible Values are:

· Any valid positive integer

· OAQ_MSG_NO_DELAY (Default) 0 seconds, message is immediately available.