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
類型:Int32要尋找測試結果之測試案例的數值 ID。
傳回值
類型:Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResultCollection
指定之測試案例的測試結果集合。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。