TestContext Constructor
Initializes a new instance of an object that derives from the TestContext class.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Protected Sub New
protected TestContext()
protected:
TestContext()
new : unit -> TestContext
protected function TestContext()
Remarks
Cannot be used to initialize an instance of TestContext.
.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.