IComTransactionEvents interface (comsvcs.h)

Notifies the subscriber if the Microsoft Distributed Transaction Coordinator (DTC) transaction starts, commits, or aborts. The subscriber is also notified when the resource manager retrieves prepare information from the transaction manager. 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 IComTransactionEvents interface inherits from the IUnknown interface. IComTransactionEvents also has these types of members:

Methods

The IComTransactionEvents interface has these methods.

 
IComTransactionEvents::OnTransactionAbort

Generated when a transaction aborts. (IComTransactionEvents.OnTransactionAbort)
IComTransactionEvents::OnTransactionCommit

Generated when a transaction commits. (IComTransactionEvents.OnTransactionCommit)
IComTransactionEvents::OnTransactionPrepare

Generated when the prepare phase of the two-phase commit protocol of the transaction is completed.
IComTransactionEvents::OnTransactionStart

Generated when a Microsoft Distributed Transaction Coordinator (DTC) transaction starts. (IComTransactionEvents.OnTransactionStart)

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