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

Nota: esta API ya está obsoleta.

Inicializa una nueva instancia de la clase TestResultAggregation.

Espacio de nombres:  Microsoft.VisualStudio.TestTools.Common
Ensamblado:  Microsoft.VisualStudio.QualityTools.Common (en Microsoft.VisualStudio.QualityTools.Common.dll)

Sintaxis

'Declaración
<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
)

Parámetros

  • runId
    Tipo: System.Guid
    El identificador de la ejecución de pruebas.
  • currentTestIndex
    Tipo: System.Int32
    Un valor de tipo int que representa el índice del resultado de la prueba actual en la matriz innerResults.

Seguridad de .NET Framework

Vea también

Referencia

TestResultAggregation Clase

TestResultAggregation (Sobrecarga)

Microsoft.VisualStudio.TestTools.Common (Espacio de nombres)

ComputerInfo

ITestElement

TestOutcome

TestResultCounter

TestResult