TestElement Constructor (TestId, String, String)
Initializes a new instance of the TestElement class.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Protected Sub New ( _
id As TestId, _
name As String, _
description As String _
)
protected TestElement(
TestId id,
string name,
string description
)
protected:
TestElement(
TestId^ id,
String^ name,
String^ description
)
new :
id:TestId *
name:string *
description:string -> TestElement
protected function TestElement(
id : TestId,
name : String,
description : String
)
Parameters
id
Type: Microsoft.VisualStudio.TestTools.Common.TestIdA TestId for the test.
name
Type: StringThe name of this test element.
description
Type: StringThe description of this test element.
.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.