Share via


ITmi.GetTestResults Method (TestRun)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets an array of test result objects from the provided test run.

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

Syntax

'Declaration
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[]

Parameters

Return Value

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

Exceptions

Exception Condition
[ArgumentException]

The run parameter is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ITmi Interface

GetTestResults Overload

Microsoft.VisualStudio.TestTools.Common Namespace

TestRun

TestResult