IncludeDeclarativeWebTestAttribute 构造函数

初始化 IncludeDeclarativeWebTestAttribute 类的新实例。

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

声明
Public Sub New ( _
    name As String, _
    path As String, _
    testId As String _
)
public IncludeDeclarativeWebTestAttribute(
    string name,
    string path,
    string testId
)
public:
IncludeDeclarativeWebTestAttribute(
    String^ name, 
    String^ path, 
    String^ testId
)
new : 
        name:string * 
        path:string * 
        testId:string -> IncludeDeclarativeWebTestAttribute
public function IncludeDeclarativeWebTestAttribute(
    name : String, 
    path : String, 
    testId : String
)

参数

  • name
    类型:System.String
    声明性 Web 测试特性的名称。
  • path
    类型:System.String
    声明性 Web 测试特性的路径。
  • testId
    类型:System.String
    声明性 Web 测试特性的测试 ID。

.NET Framework 安全性

请参见

参考

IncludeDeclarativeWebTestAttribute 类

Microsoft.VisualStudio.TestTools.WebTesting 命名空间