Udostępnij za pośrednictwem


Metoda TestOutcomeHelper.GetAggregationOutcome —

Ten interfejs API obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Zwraca wynik testu, reprezentującą najniższą wartość numeryczną dla wyniku wynik każdego badania w podanej tablicy.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.Common
Zestaw:  Microsoft.VisualStudio.QualityTools.Common (w Microsoft.VisualStudio.QualityTools.Common.dll)

Składnia

'Deklaracja
Public Shared Function GetAggregationOutcome ( _
    results As TestResult() _
) As TestOutcome
public static TestOutcome GetAggregationOutcome(
    TestResult[] results
)
public:
static TestOutcome GetAggregationOutcome(
    array<TestResult^>^ results
)
static member GetAggregationOutcome : 
        results:TestResult[] -> TestOutcome 
public static function GetAggregationOutcome(
    results : TestResult[]
) : TestOutcome

Parametry

Wartość zwracana

Typ: Microsoft.VisualStudio.TestTools.Common.TestOutcome
Wynik badania, reprezentującą najniższą wartość numeryczną dla wyniku wynik każdego badania w podanej tablicy.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

TestOutcomeHelper Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Common

TestOutcome

TestResult