共用方式為


TestDescriptionAttribute 建構函式

初始化 TestDescriptionAttribute 類別的新執行個體。

命名空間:  Microsoft.VisualStudio.TestTools.WebTesting
組件:  Microsoft.VisualStudio.QualityTools.WebTestFramework (在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

語法

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

參數

  • testDescription
    型別:System.String
    測試的簡短說明。

備註

TestDescription 屬性沒有預設值。您必須使用這個屬性 (Attribute) 加以設定。

.NET Framework 安全性

請參閱

參考

TestDescriptionAttribute 類別

Microsoft.VisualStudio.TestTools.WebTesting 命名空間