Share via


ITestCaseResultHelper.CreateForUpdate Method (Int32, Int32)

 

Creates an empty test case result object that is used to efficiently save changed properties to the server.

Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

ITestCaseResult CreateForUpdate(
    int testRunId,
    int testResultId
)
ITestCaseResult^ CreateForUpdate(
    int testRunId,
    int testResultId
)
abstract CreateForUpdate : 
        testRunId:int *
        testResultId:int -> ITestCaseResult
Function CreateForUpdate (
    testRunId As Integer,
    testResultId As Integer
) As ITestCaseResult

Parameters

  • testRunId
    Type: System.Int32

    An int that identifies the test run for the test case result.

  • testResultId
    Type: System.Int32

    An int that identifies the test case result.

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResult

An empty test case result object.

Remarks

To write the result to the server, call the Save method.

See Also

ITestCaseResult
ITestCaseResultHelper Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top