TestResultId 构造函数 (String, String, String, String)

使用所提供的测试运行 ID、测试执行 ID、父测试执行 ID 和测试 ID 初始化 TestResultId 类的新实例。

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

语法

声明
Public Sub New ( _
    runId As String, _
    executionId As String, _
    parentExecutionId As String, _
    testId As String _
)
public TestResultId(
    string runId,
    string executionId,
    string parentExecutionId,
    string testId
)
public:
TestResultId(
    String^ runId, 
    String^ executionId, 
    String^ parentExecutionId, 
    String^ testId
)
new : 
        runId:string * 
        executionId:string * 
        parentExecutionId:string * 
        testId:string -> TestResultId
public function TestResultId(
    runId : String, 
    executionId : String, 
    parentExecutionId : String, 
    testId : String
)

参数

.NET Framework 安全性

请参见

参考

TestResultId 类

TestResultId 重载

Microsoft.VisualStudio.TestTools.Common 命名空间

TestExecId

TestId