TestMethodAttribute Constructor
Initializes a new instance of the TestMethodAttribute class.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public Sub New
public TestMethodAttribute()
public:
TestMethodAttribute()
new : unit -> TestMethodAttribute
public function TestMethodAttribute()
.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.