TestResultAggregation 构造函数 (ComputerInfo, Guid, ITestElement)

注意:此 API 现在已过时。

使用提供的计算机信息、运行 ID 和测试元素初始化 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 _
)
[ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")]
public TestResultAggregation(
    ComputerInfo computerInfo,
    Guid runId,
    ITestElement test
)
[ObsoleteAttribute(L"This constructor is obsolete. Use the constructor that takes string instead.")]
public:
TestResultAggregation(
    ComputerInfo^ computerInfo, 
    Guid runId, 
    ITestElement^ test
)
[<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")>]
new : 
        computerInfo:ComputerInfo * 
        runId:Guid * 
        test:ITestElement -> TestResultAggregation
public function TestResultAggregation(
    computerInfo : ComputerInfo, 
    runId : Guid, 
    test : ITestElement
)

参数

.NET Framework 安全性

请参见

参考

TestResultAggregation 类

TestResultAggregation 重载

Microsoft.VisualStudio.TestTools.Common 命名空间

ComputerInfo

ITestElement