ICrmLogControl::ForceTransactionToAbort method (comsvcs.h)

Performs an immediate abort call on the transaction.

Syntax

HRESULT ForceTransactionToAbort();

Return value

This method can return the following values.

Return code Description
S_OK
The method completed successfully.
XACT_E_WRONGSTATE
This method was called in the wrong state; either before RegisterCompensator or when the transaction is completing (CRM Worker).
XACT_E_ABORTED
The transaction has aborted, most likely because of a transaction time-out.

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

ICrmLogControl