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: System.Diagnostics.TextWriterTraceListener
A trace listener stream.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.