ICrmCompensatorVariants::BeginAbortVariants method (comsvcs.h)

Notifies the CRM Compensator of the abort phase of the transaction completion and that records are about to be delivered. The abort phase can be received during normal processing without a prepare phase if the client decides to initiate abort.

Syntax

HRESULT BeginAbortVariants(
  [in] VARIANT_BOOL bRecovery
);

Parameters

[in] bRecovery

Indicates whether this method is being called during recovery.

Return value

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

Remarks

The CRM Compensator should not depend on any state to be maintained between the prepare phase and the abort phase. The CRM infrastructure is free to release the CRM Compensator between these two phases if it needs to do so. However, state is maintained between the Begin-Record-End calls, and the CRM Compensator always gets the ICrmLogControl interface before delivery of any transaction outcome methods.

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

ICrmCompensatorVariants