Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Delivers unstructured log records to the CRM Compensator when using Microsoft Visual C++.
Inheritance
The ICrmCompensator interface inherits from the IUnknown interface. ICrmCompensator also has these types of members:
Methods
The ICrmCompensator interface has these methods.
| ICrmCompensator::AbortRecord Delivers a log record to the CRM Compensator during the abort phase. (ICrmCompensator.AbortRecord) |
| ICrmCompensator::BeginAbort Notifies the CRM Compensator of the abort phase of the transaction completion and that records are about to be delivered. (ICrmCompensator.BeginAbort) |
| ICrmCompensator::BeginCommit Notifies the CRM Compensator of the commit phase of the transaction completion and that records are about to be delivered. |
| ICrmCompensator::BeginPrepare Notifies the CRM Compensator of the prepare phase of the transaction completion and that records are about to be delivered. (ICrmCompensator.BeginPrepare) |
| ICrmCompensator::CommitRecord Delivers a log record in forward order during the commit phase. |
| ICrmCompensator::EndAbort Notifies the CRM Compensator that it has received all the log records available during the abort phase. (ICrmCompensator.EndAbort) |
| ICrmCompensator::EndCommit Notifies the CRM Compensator that it has delivered all the log records available during the commit phase. (ICrmCompensator.EndCommit) |
| ICrmCompensator::EndPrepare Notifies the CRM Compensator that it has had all the log records available during the prepare phase. (ICrmCompensator.EndPrepare) |
| ICrmCompensator::PrepareRecord Delivers a log record in forward order during the prepare phase. |
| ICrmCompensator::SetLogControl Delivers an ICrmLogControl interface to the CRM Compensator so that it can write further log records during transaction completion. |
Remarks
The CRM clerk determines the CLSID of the CRM Compensator using the ICrmLogControl::RegisterCompensator method. It next calls CoCreateInstance specifying the CLSID of this CRM Compensator, and then it calls QueryInterface for both the ICrmCompensator interface and the ICrmCompensatorVariants interface.
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 |