Compartilhar via


Activity::SetTraceFile method

Sets the trace file name of the Activity.

Syntax

virtual HRESULT SetTraceFile(
  [in] LPCWSTR traceFile
) = 0;

Parameters

traceFile [in]

The trace file name.

Return value

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

Remarks

Activity objects hold data from Iteration/Activities/Activity elements.

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

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

Activity