TestResultId 构造函数 (Guid, TestExecId, TestExecId, TestId)

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

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

语法

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

参数

.NET Framework 安全性

请参见

参考

TestResultId 类

TestResultId 重载

Microsoft.VisualStudio.TestTools.Common 命名空间

TestExecId

TestId