Partager via


TestDescriptionAttribute Constructor

Initializes a new instance of the TestDescriptionAttribute class.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Sub New ( _
    testDescription As String _
)
public TestDescriptionAttribute(
    string testDescription
)
public:
TestDescriptionAttribute(
    String^ testDescription
)
new : 
        testDescription:string -> TestDescriptionAttribute
public function TestDescriptionAttribute(
    testDescription : String
)

Parameters

  • testDescription
    Type: String

    A short description of the test.

Remarks

There is no default value for the TestDescription property. You must set it with the attribute.

.NET Framework Security

See Also

Reference

TestDescriptionAttribute Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace