Share via


TestResultAggregation Constructor (String, Guid, ITestElement, TestOutcome, TestResultCounter, array<TestResult )

Initializes a new instance of the TestResultAggregation class using the provided parameters.

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() _
)
public TestResultAggregation(
    string computerInfo,
    Guid runId,
    ITestElement test,
    TestOutcome outcome,
    TestResultCounter counters,
    TestResult[] innerResults
)
public:
TestResultAggregation(
    String^ computerInfo, 
    Guid runId, 
    ITestElement^ test, 
    TestOutcome outcome, 
    TestResultCounter^ counters, 
    array<TestResult^>^ innerResults
)
new : 
        computerInfo:string * 
        runId:Guid * 
        test:ITestElement * 
        outcome:TestOutcome * 
        counters:TestResultCounter * 
        innerResults:TestResult[] -> TestResultAggregation
public function TestResultAggregation(
    computerInfo : String, 
    runId : Guid, 
    test : ITestElement, 
    outcome : TestOutcome, 
    counters : TestResultCounter, 
    innerResults : TestResult[]
)

Parameters

  • computerInfo
    Type: String

    The name of the machine where the tests were run.

  • runId
    Type: Guid

    The ID for the test run.

.NET Framework Security

See Also

Reference

TestResultAggregation Class

TestResultAggregation Overload

Microsoft.VisualStudio.TestTools.Common Namespace

ITestElement

TestOutcome

TestResultCounter

TestResult