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

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(), _
    currentTestIndex As Integer _
)
'使用
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 currentTestIndex As Integer

Dim instance As New TestResultAggregation(computerInfo, _
    runId, test, outcome, counters, innerResults, _
    currentTestIndex)
[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,
    int currentTestIndex
)
[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, 
    int currentTestIndex
)
public function TestResultAggregation(
    computerInfo : ComputerInfo, 
    runId : Guid, 
    test : ITestElement, 
    outcome : TestOutcome, 
    counters : TestResultCounter, 
    innerResults : TestResult[], 
    currentTestIndex : int
)

Parameters

  • innerResults
    Type: []

Permissions

See Also

Reference

TestResultAggregation Class

TestResultAggregation Members

TestResultAggregation Overload

Microsoft.VisualStudio.TestTools.Common Namespace