Delen via


MSMQTransaction.ITransaction

 

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

(Introduced in MSMQ 3.0.) The ITransaction property of the MSMQTransaction object returns the transaction interface on the underlying transaction object associated with the MSMQTransaction object.

Data type: Variant
Run-time access: Read-only
Property ITransaction As Variant  

Property Value

A Variant containing the transaction interface on the underlying transaction object associated with the MSMQTransaction object.

Remarks

The underlying transaction can be an MS DTC external transaction or a Message Queuing internal transaction. The transaction interface pointer can be marshaled between processes.

In C++ COM applications, you must use a smart pointer to the IMSMQTransaction3 interface to expose the ITransaction property.

Requirements

Windows NT/2000/XP: Included in Windows XP and Windows Server 2003.

Windows 95/98/Me: Unsupported.

Header: Declared in Mqoai.h.

Library: Use Mqoa.lib.

See Also

MSMQTransaction