IWDTFLOG2::OutputError method (wdtf.h)

Writes an error entry to the test case log.

Syntax

HRESULT OutputError(
  [in] BSTR sErrorString
);

Parameters

[in] sErrorString

The error string.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows XP Professional
Minimum supported server Windows Server 2008
Target Platform Desktop
Header wdtf.h

See also

IWDTFLOG2