dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleQueue Class / Enqueue Method / Enqueue(String,OracleQueueMessageProperties,OracleQueueEnqueueOptions) Method
String message payload.
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(String,OracleQueueMessageProperties,OracleQueueEnqueueOptions) Method
Inserts a message into a queue of RAW objects. String is converted to a byte array using default encoding.
Syntax
'Declaration
 
Public Overloads Function Enqueue( _
   ByVal payload As String, _
   ByVal messageProperties As OracleQueueMessageProperties, _
   ByVal enqOptions As OracleQueueEnqueueOptions _
) As OracleQueueMessageId
 

Parameters

payload
String message payload.
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