IComTransaction2Events::OnTransactionStart2 method (comsvcs.h)

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

Syntax

HRESULT OnTransactionStart2(
  [in] COMSVCSEVENTINFO *pInfo,
  [in] REFGUID          guidTx,
  [in] REFGUID          tsid,
  [in] BOOL             fRoot,
  [in] int              nIsolationLevel
);

Parameters

[in] pInfo

A pointer to a COMSVCSEVENTINFO structure.

[in] guidTx

The transaction identifier.

[in] tsid

The transaction stream identifier for the correlation to objects.

[in] fRoot

Indicates whether the transaction is a root transaction.

[in] nIsolationLevel

The isolation level of the transaction.

Return value

The user verifies the return values from this method.

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

IComTransaction2Events