Activity.SetTrace Method (String, String)
Applies To: Windows 8.1
Sets Trace settings of the Activity.
Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)
Usage
'Usage
Dim instance As Activity
Dim traceFile As String
Dim traceLink As String
Dim returnValue As Trace
returnValue = instance.SetTrace(traceFile, traceLink)
Syntax
'Declaration
Public Function SetTrace ( _
traceFile As String, _
traceLink As String _
) As Trace
public Trace SetTrace (
string traceFile,
string traceLink
)
public:
Trace^ SetTrace (
String^ traceFile,
String^ traceLink
)
public Trace SetTrace (
String traceFile,
String traceLink
)
public function SetTrace (
traceFile : String,
traceLink : String
) : Trace
Parameters
- traceFile
The trace file name. The trace file name is the value of element Activity/Trace/File.
- traceLink
The trace link. The trace link is the value of element Activity/Trace/Link.
Return Value
Returns Trace.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows 8.1
See Also
Reference
Activity Class
Activity Members
Microsoft.Assessments.Runtime Namespace