Freigeben über


TestResultAggregation-Konstruktor (ComputerInfo, Guid, ITestElement, TestOutcome, TestResultCounter, array<TestResult , Int32)

Hinweis: Diese API ist mittlerweile veraltet.

Initialisiert eine neue Instanz der TestResultAggregation-Klasse.

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

Syntax

'Declaration
<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 _
)
[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
)
[<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")>]
new : 
        computerInfo:ComputerInfo * 
        runId:Guid * 
        test:ITestElement * 
        outcome:TestOutcome * 
        counters:TestResultCounter * 
        innerResults:TestResult[] * 
        currentTestIndex:int -> TestResultAggregation
public function TestResultAggregation(
    computerInfo : ComputerInfo, 
    runId : Guid, 
    test : ITestElement, 
    outcome : TestOutcome, 
    counters : TestResultCounter, 
    innerResults : TestResult[], 
    currentTestIndex : int
)

Parameter

  • currentTestIndex
    Typ: System.Int32
    Ein int, das den Index des aktuellen Testergebnisses im innerResults-Array darstellt.

.NET Framework-Sicherheit

Siehe auch

Referenz

TestResultAggregation Klasse

TestResultAggregation-Überladung

Microsoft.VisualStudio.TestTools.Common-Namespace

ComputerInfo

ITestElement

TestOutcome

TestResultCounter

TestResult