Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.