Udostępnij za pośrednictwem


Metoda ITmi.GetTestResults — (TestRun)

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

Pobiera tablicę test obiektów wynikowych z dostarczonego przebieg testu.

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

Składnia

'Deklaracja
Function GetTestResults ( _
    run As TestRun _
) As TestResult()
TestResult[] GetTestResults(
    TestRun run
)
array<TestResult^>^ GetTestResults(
    TestRun^ run
)
abstract GetTestResults : 
        run:TestRun -> TestResult[] 
function GetTestResults(
    run : TestRun
) : TestResult[]

Parametry

Wartość zwracana

Typ: array<Microsoft.VisualStudio.TestTools.Common.TestResult[]

Wyjątki

Wyjątek Warunek
[ArgumentException]

The run parameter is nullodwołanie o wartości null (Nothing w języku Visual Basic).

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ITmi Interfejs

Przeciążenie GetTestResults

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Common

TestRun

TestResult