ITestRun.QueryResultsByStatus Method
Returns a collection of test results for this test run that has the provided test status.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Function QueryResultsByStatus ( _
status As TestResultState _
) As ITestCaseResultCollection
ITestCaseResultCollection QueryResultsByStatus(
TestResultState status
)
ITestCaseResultCollection^ QueryResultsByStatus(
TestResultState status
)
abstract QueryResultsByStatus :
status:TestResultState -> ITestCaseResultCollection
function QueryResultsByStatus(
status : TestResultState
) : ITestCaseResultCollection
Parameters
status
Type: Microsoft.TeamFoundation.TestManagement.Client.TestResultStateA TestResultState 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.