IComLTxEvents::OnLtxTransactionPrepare method (comsvcs.h)

Generated when COM+ receives a prepare notification for a transaction.

The event ID for this event is EID_LTXPREPARE.

Syntax

HRESULT OnLtxTransactionPrepare(
  [in] COMSVCSEVENTINFO *pInfo,
  [in] GUID             guidLtx,
  [in] BOOL             fVote
);

Parameters

[in] pInfo

A pointer to a COMSVCSEVENTINFO structure.

[in] guidLtx

A GUID that identifies the transaction.

[in] fVote

The COM+ vote for the prepare request.

Return value

The user verifies the return values from this method.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

IComLTxEvents