TestContext.TestLogsDir Property
Gets the path to the test log directory.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.SmartDevice.UnitTestFramework (in Microsoft.VisualStudio.SmartDevice.UnitTestFramework.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property TestLogsDir As String
'Usage
Dim instance As TestContext
Dim value As String
value = instance.TestLogsDir
public virtual string TestLogsDir { get; }
public:
virtual property String^ TestLogsDir {
String^ get ();
}
public function get TestLogsDir () : String
Property Value
Type: System.String
The path to the test log directory.
Exceptions
Exception | Condition |
---|---|
InvalidCastException | An invalid value type is associated with the TestLogsDir property of the test context. |
.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.
See Also
Reference
Microsoft.VisualStudio.TestTools.UnitTesting Namespace