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
outcome
Type: Microsoft.TeamFoundation.TestManagement.Client.TestOutcomeA TestOutcome object.
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResultCollection
A collection 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.