ICrmLogControl interface (comsvcs.h)
Is the means by which the CRM Worker and CRM Compensator write records to the log and make them durable.
Inheritance
The ICrmLogControl interface inherits from the IUnknown interface. ICrmLogControl also has these types of members:
Methods
The ICrmLogControl interface has these methods.
ICrmLogControl::ForceLog Forces all log records to be durable on disk. |
ICrmLogControl::ForceTransactionToAbort Performs an immediate abort call on the transaction. |
ICrmLogControl::ForgetLogRecord Forgets the last log record written by this instance of the interface. |
ICrmLogControl::get_TransactionUOW Retrieves the transaction unit of work (UOW) without having to log the transaction UOW in the log record. |
ICrmLogControl::RegisterCompensator The CRM Worker uses this method to register the CRM Compensator with the CRM infrastructure. |
ICrmLogControl::WriteLogRecord The CRM Worker and CRM Compensator use this method to write unstructured log records to the log. |
ICrmLogControl::WriteLogRecordVariants The CRM Worker and CRM Compensator use this method to write structured log records to the log. |
Remarks
The CRM Compensator receives this interface after its instantiation using the ICrmCompensator::SetLogControl or the ICrmCompensatorVariants::SetLogControlVariants method.
In addition to the return values listed for each method, the methods can also return error codes from the Distributed Transaction Coordinator (DTC) or other standard COM error codes.
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 |