TestMethodInvokerContext.TestContext Property
Gets the test context.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property TestContext As TestContext
public abstract TestContext TestContext { get; }
public:
virtual property TestContext^ TestContext {
TestContext^ get () abstract;
}
abstract TestContext : TestContext with get
abstract function get TestContext () : TestContext
Property Value
Type: Microsoft.VisualStudio.TestTools.UnitTesting.TestContext
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.