IComTransaction2Events interface (comsvcs.h)

Notifies the subscriber if a Microsoft Distributed Transaction Coordinator (DTC) transaction starts, commits, or aborts. The subscriber is also notified when the transaction is in the prepare phase of the two-phase commit protocol. The events are published to the subscriber using the COM+ Events service, a loosely coupled events system that stores event information from different publishers in an event store in the COM+ catalog.

Inheritance

The IComTransaction2Events interface inherits from the IUnknown interface. IComTransaction2Events also has these types of members:

Methods

The IComTransaction2Events interface has these methods.

 
IComTransaction2Events::OnTransactionAbort2

Generated when a transaction aborts. (IComTransaction2Events.OnTransactionAbort2)
IComTransaction2Events::OnTransactionCommit2

Generated when a transaction commits. (IComTransaction2Events.OnTransactionCommit2)
IComTransaction2Events::OnTransactionPrepare2

Generated when the transaction is in the prepare phase of the commit protocol.
IComTransaction2Events::OnTransactionStart2

Generated when a Microsoft Distributed Transaction Coordinator (DTC) transaction starts. (IComTransaction2Events.OnTransactionStart2)

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

COM+ Events

COM+ Instrumentation

COM+ Transactions