MSMQQueueInfo.IsTransactional (Compact 2013)
3/26/2014
The read-only property of the MSMQQueueInfo object indicates whether the queue supports transactions.
This property is superseded by the MSMQQueueInfo.IsTransactional2 property.
Syntax
HRESULT get_IsTransactional(
Boolean* pisTransactional
);
Parameters
- pisTransactional
Indicates whether the queue supports transactions.
Return Value
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
Header |
mqoai.h |
Library |
mqoa.lib |