ITestCaseResultHelper.ByTestId 方法

查询服务器,并返回测试用例的测试结果对象集合。

命名空间:  Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)

语法

声明
Function ByTestId ( _
    testCaseId As Integer _
) As ITestCaseResultCollection
ITestCaseResultCollection ByTestId(
    int testCaseId
)
ITestCaseResultCollection^ ByTestId(
    int testCaseId
)
abstract ByTestId : 
        testCaseId:int -> ITestCaseResultCollection 
function ByTestId(
    testCaseId : int
) : ITestCaseResultCollection

参数

  • testCaseId
    类型:System.Int32
    要为其查找测试结果的测试用例的数字 ID。

返回值

类型:Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResultCollection
指定测试用例的测试结果的集合。

.NET Framework 安全性

请参见

参考

ITestCaseResultHelper 接口

Microsoft.TeamFoundation.TestManagement.Client 命名空间

ITestCaseResultCollection