ITestRun.QueryResultsByOutcome Method

Returns a collection of test results for this test run that has the provided test outcome.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Function QueryResultsByOutcome ( _
    outcome As TestOutcome _
) As ITestCaseResultCollection
ITestCaseResultCollection QueryResultsByOutcome(
    TestOutcome outcome
)
ITestCaseResultCollection^ QueryResultsByOutcome(
    TestOutcome outcome
)
abstract QueryResultsByOutcome : 
        outcome:TestOutcome -> ITestCaseResultCollection
function QueryResultsByOutcome(
    outcome : TestOutcome
) : ITestCaseResultCollection

Parameters

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResultCollection
A collection of test results.

.NET Framework Security

See Also

Reference

ITestRun Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestCaseResultCollection

TestOutcome