次の方法で共有


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