IMtsTransactionEvents::OnTransactionStart

Indicates that a transactional component has been created.

HRESULT OnTransactionStart(
LONGLONG                perfCount,
REFGUID                    guidTx,
REFGUID                    tsid,
BOOL                        fRoot);

Parameters

perfCount
The current value of the high-resolution performance counter, if one exists.

guidTx
The GUID associated with the transaction.

tsid
A unique identifier associated with the object's transaction context.

fRoot
A flag that indicates whether the object is the root of the transaction. Always TRUE.

Comments

Note that this event occurs only once when the "root" object of the transaction is created. Objects which inherit transaction context from the root object will not generate this event.