MSMQQueueInfo.IsTransactional (Windows CE 5.0)
The read-only property of the MSMQQueueInfo object indicates whether the queue supports transactions.
This property is superseded by the MSMQQueueInfo.IsTransactional2 property.
HRESULT get_IsTransactional( Boolean* pisTransactional);
Parameters
- pisTransactional
Indicates whether the queue supports transactions.
Return Values
The following table describes the common return values.
Value | Description |
---|---|
S_OK | Success |
E_INVALIDARG | One or more arguments are invalid |
E_NOTIMPL | The function contains no implementation |
E_OUTOFMEMORY | Out of memory |
Remarks
If a queue is transactional, it can only accept messages that are sent as part of a transaction. In a similar way, messages read from a transactional queue must also be done as part of a transaction.
Equivalent Function Property
When using function calls, the transactional level of the queue can be set (when creating the queue) and retrieved using the PROPID_Q_TRANSACTION property.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Mqoai.h.
Link Library: Mqoa.lib.
Send Feedback on this topic to the authors