Initializes a new instance of the TestResultAggregation class.
Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Sub New ( _
    computerInfo As String, _
    runId As Guid, _
    test As ITestElement, _
    outcome As TestOutcome, _
    counters As TestResultCounter, _
    innerResults As TestResult(), _
    currentTestIndex As Integer _
)
public TestResultAggregation(
    string computerInfo,
    Guid runId,
    ITestElement test,
    TestOutcome outcome,
    TestResultCounter counters,
    TestResult[] innerResults,
    int currentTestIndex
)
public:
TestResultAggregation(
    String^ computerInfo, 
    Guid runId, 
    ITestElement^ test, 
    TestOutcome outcome, 
    TestResultCounter^ counters, 
    array<TestResult^>^ innerResults, 
    int currentTestIndex
)
new : 
        computerInfo:string * 
        runId:Guid * 
        test:ITestElement * 
        outcome:TestOutcome * 
        counters:TestResultCounter * 
        innerResults:TestResult[] * 
        currentTestIndex:int -> TestResultAggregation
public function TestResultAggregation(
    computerInfo : String, 
    runId : Guid, 
    test : ITestElement, 
    outcome : TestOutcome, 
    counters : TestResultCounter, 
    innerResults : TestResult[], 
    currentTestIndex : int
)
Parameters
- computerInfo 
 Type: String- The name of the machine where the tests were run. 
- runId 
 Type: Guid- The ID for the test run. 
- test 
 Type: Microsoft.VisualStudio.TestTools.Common.ITestElement- An ITestElement object. 
- outcome 
 Type: Microsoft.VisualStudio.TestTools.Common.TestOutcome- A TestOutcome object. 
- counters 
 Type: Microsoft.VisualStudio.TestTools.Common.TestResultCounter- A TestResultCounter object. 
- innerResults 
 Type: array<Microsoft.VisualStudio.TestTools.Common.TestResult[]- An array of TestResult objects. 
- currentTestIndex 
 Type: Int32- An int that represents the index of the current test result in the innerResults array. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
TestResultAggregation Overload