Share via


UITestTraceUtility.StartTracing Method

Returns a trace listener stream for tracing that saves log files in the folder that is specified in configuration.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public Shared Function StartTracing As TextWriterTraceListener
public static TextWriterTraceListener StartTracing()
public:
static TextWriterTraceListener^ StartTracing()
static member StartTracing : unit -> TextWriterTraceListener
public static function StartTracing() : TextWriterTraceListener

Return Value

Type: TextWriterTraceListener
A trace listener stream.

.NET Framework Security

See Also

Reference

UITestTraceUtility Class

StartTracing Overload

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

TextWriterTraceListener