Share via


Iteration::SetTrace method

Sets values for the Trace object of the Iteration.

Syntax

virtual HRESULT SetTrace(
  [in]            LPCWSTR traceFile,
  [in, optional]  LPCWSTR traceLink,
  [out, optional] Trace   **trace
) = 0;

Parameters

traceFile [in]

The trace file name.

traceLink [in, optional]

The trace link.

trace [out, optional]

The Trace object.

Return value

If the function succeeds, it returns S_OK. If it fails, it returns an error value.

Remarks

The Trace object holds information from element Iteration/Trace.

The trace file name is the value of element Iteration/Trace/File.

The trace link is the value of element Iteration/Trace/Link.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeRuntime.h
DLL
AxeCore.dll

See also

Iteration