Activity::SetTrace method
Sets Trace settings of the Activity.
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 that this method sets.
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 holds values from element Activity/Trace.
The trace file name is the value of element Activity/Trace/File.
The trace link is the value of element Activity/Trace/Link.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|