TestResultAggregation Constructor (ComputerInfo, Guid, ITestElement, TestOutcome, TestResultCounter, [])

NOTE: This API is now obsolete.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'宣言
<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() _
)
'使用
Dim computerInfo As ComputerInfo
Dim runId As Guid
Dim test As ITestElement
Dim outcome As TestOutcome
Dim counters As TestResultCounter
Dim innerResults As TestResult()

Dim instance As New TestResultAggregation(computerInfo, _
    runId, test, outcome, counters, innerResults)
[ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")]
public TestResultAggregation(
    ComputerInfo computerInfo,
    Guid runId,
    ITestElement test,
    TestOutcome outcome,
    TestResultCounter counters,
    TestResult[] innerResults
)
[ObsoleteAttribute(L"This constructor is obsolete. Use the constructor that takes string instead.")]
public:
TestResultAggregation(
    ComputerInfo^ computerInfo, 
    Guid runId, 
    ITestElement^ test, 
    TestOutcome outcome, 
    TestResultCounter^ counters, 
    array<TestResult^>^ innerResults
)
public function TestResultAggregation(
    computerInfo : ComputerInfo, 
    runId : Guid, 
    test : ITestElement, 
    outcome : TestOutcome, 
    counters : TestResultCounter, 
    innerResults : TestResult[]
)

Parameters

  • innerResults
    Type: []

Permissions

See Also

Reference

TestResultAggregation Class

TestResultAggregation Members

TestResultAggregation Overload

Microsoft.VisualStudio.TestTools.Common Namespace