返回此测试运行的测试结果的集合,此测试结果具有提供的测试输出。
命名空间:  Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
声明
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
参数
- outcome
 类型:Microsoft.TeamFoundation.TestManagement.Client.TestOutcome
 一个 TestOutcome 对象。
返回值
类型:Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResultCollection
测试结果的集合。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。