次の方法で共有


Iteration::SetTrace method

Sets values for the Trace object of the Iteration.

Syntax

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

Parameters

traceFile [in]

The trace file name.

traceLink [in, optional]

The trace link.

traceName [in, optional]

The trace name.

traceTooltip [in, optional]

The trace tooltip.

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.

The trace name is the value of element Iteration/Trace/Description/Name.

The trace tooltip is the value of element Iteration/Trace/Description/ToolTip.

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