ICrmLogControl::WriteLogRecordVariants method (comsvcs.h)
The CRM Worker and CRM Compensator use this method to write structured log records to the log.
Syntax
HRESULT WriteLogRecordVariants(
[in] VARIANT *pLogRecord
);
Parameters
[in] pLogRecord
A pointer to a Variant array of Variants. This must be a single-dimension array whose lower bound is zero.
Return value
This method can return the following values.
Return code | Description |
---|---|
|
The method completed successfully. |
|
One of the arguments is incorrect. |
|
A NULL pointer was provided as an argument. |
|
This method was called in the wrong state; either before RegisterCompensator or when the transaction is completing (CRM Worker). |
|
The transaction has aborted, most likely because of a transaction time-out. |
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 |