Share via


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
abstract function get TestContext () : TestContext

Property Value

Type: Microsoft.VisualStudio.TestTools.UnitTesting.TestContext
The test context.

.NET Framework Security

See Also

Reference

TestMethodInvokerContext Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace