Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the test context of the user.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property TestContext As TestContext
public TestContext TestContext { get; }
public:
property TestContext^ TestContext {
TestContext^ get ();
}
member TestContext : TestContext with get
function get TestContext () : TestContext
Property Value
Type: Microsoft.VisualStudio.TestTools.UnitTesting.TestContext
The test context of the user.
Remarks
This property is defined only in Initialize methods.
.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.