ICrmCompensatorVariants::BeginCommitVariants method (comsvcs.h)

Notifies the CRM Compensator of the commit phase (phase two) of the transaction completion and that records are about to be delivered.

Syntax

HRESULT BeginCommitVariants(
  [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 commit 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