MSMQQueueInfo.IsTransactional

The IsTransactional property of the MSMQQueueInfo object indicates whether the queue supports transactions.

This property is superseded by the MSMQQueueInfo.IsTransactional2 property in MSMQ 3.0.

Data type:

Short

Run-time access:

Read-only

Property IsTransactional As Short

Property Value

A Short set to one of the following values:

MQ_TRANSACTIONAL

The queue is only used in transactions.

MQ_TRANSACTIONAL_NONE

The queue is not used in transactions.

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. For information on transactions, see Message Queuing Transactions.

Equivalent API Function Property

With function calls, the equivalent property is PROPID_Q_TRANSACTION.

Requirements

Windows NT/2000/XP: Included in Windows NT 4.0 SP3 and later.

Windows 95/98/Me: Included in Windows 95 and later.

Header: Declared in Mqoai.h.

Library: Use Mqoa.lib.

See Also

Show:
© 2014 Microsoft