使用英语阅读

通过


TestResultAggregation 构造函数 (ComputerInfo, Guid, ITestElement, TestOutcome, TestResultCounter, array<TestResult[], Int32)

注意:此 API 现在已过时。

初始化 TestResultAggregation 类的新实例。

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

语法

声明
<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")> _
Public Sub New ( _
    computerInfo As ComputerInfo, _
    runId As Guid, _
    test As ITestElement, _
    outcome As TestOutcome, _
    counters As TestResultCounter, _
    innerResults As TestResult(), _
    currentTestIndex As Integer _
)

参数

  • currentTestIndex
    类型:System.Int32
    一个 int,表示 innerResults 数组中当前测试结果的索引。

.NET Framework 安全性

请参见

参考

TestResultAggregation 类

TestResultAggregation 重载

Microsoft.VisualStudio.TestTools.Common 命名空间

ComputerInfo

ITestElement

TestOutcome

TestResultCounter

TestResult