ICrmCompensator::SetLogControl method (comsvcs.h)
Delivers an ICrmLogControl interface to the CRM Compensator so that it can write further log records during transaction completion. This method is the first method called on the CRM Compensator after it has been created.
Syntax
HRESULT SetLogControl(
[in] ICrmLogControl *pLogControl
);
Parameters
[in] pLogControl
A pointer to the ICrmLogControl interface of the CRM clerk.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
CRM Compensator errors cause failfast of the server process, unless this has been specifically overridden (through a registry flag) for this particular CRM Compensator CLSID. See COM+ CRM Registry Settings for more information.
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 |