Partilhar via


MSMQQueueInfo.IsTransactional

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

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 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

MSMQQueueInfo
MSMQQueueInfo.IsTransactional2
MSMQQueueInfo.Refresh
PROPID_Q_TRANSACTION