ITmi.GetTestResults Method (TestRun, ITestElement)
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets an array of test results from the provided test run that are in the provided test.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Function GetTestResults ( _
run As TestRun, _
test As ITestElement _
) As TestResult()
TestResult[] GetTestResults(
TestRun run,
ITestElement test
)
array<TestResult^>^ GetTestResults(
TestRun^ run,
ITestElement^ test
)
abstract GetTestResults :
run:TestRun *
test:ITestElement -> TestResult[]
function GetTestResults(
run : TestRun,
test : ITestElement
) : TestResult[]
Parameters
- run
Type: Microsoft.VisualStudio.TestTools.Common.TestRun
A TestRun object.
- test
Type: Microsoft.VisualStudio.TestTools.Common.ITestElement
A TestElement object.
Return Value
Type: array<Microsoft.VisualStudio.TestTools.Common.TestResult[]
An array of test results.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.