dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleQueue Class / Enqueue Method / Enqueue(OracleObject,OracleQueueMessageProperties,OracleQueueEnqueueOptions) Method
Instance of message object.
Message properties. If skipped or null, they are obtained from EnqueueMessageProperties property.
Options for inserting. If skipped or null, they are obtained from EnqueueOptions property.

Enqueue(OracleObject,OracleQueueMessageProperties,OracleQueueEnqueueOptions) Method
Adds a message to the specified queue.
Syntax
'Declaration
 
Public Overloads Function Enqueue( _
   ByVal payload As OracleObject, _
   ByVal messageProperties As OracleQueueMessageProperties, _
   ByVal enqOptions As OracleQueueEnqueueOptions _
) As OracleQueueMessageId
 

Parameters

payload
Instance of message object.
messageProperties
Message properties. If skipped or null, they are obtained from EnqueueMessageProperties property.
enqOptions
Options for inserting. If skipped or null, they are obtained from EnqueueOptions property.

Return Value

System generated identification of the message. This is a globally unique identifier that can be used to identify the message at dequeue time.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also