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