ICrmCompensator::AbortRecord method (comsvcs.h)

Delivers a log record to the CRM Compensator during the abort phase.

Syntax

HRESULT AbortRecord(
  [in]  CrmLogRecordRead crmLogRec,
  [out] BOOL             *pfForget
);

Parameters

[in] crmLogRec

The log record, as a CrmLogRecordRead structure.

[out] pfForget

Indicates whether the delivered record should be forgotten.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Log records are delivered in the reverse order in which they were written. This method can be received by the CRM Compensator multiple times, once for each log record that was written. If no log records are written, the BeginAbort and EndAbort methods are received but there are no AbortRecord method calls.

The CRM Compensator can choose to forget the record that is delivered to it during this phase by setting the forget flag on return 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

ICrmCompensator