Delen via


ITestCaseResultHelper.CreateForUpdate Method

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

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

Parameters

  • testRunId
    Type: Int32

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

  • testResultId
    Type: 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.

.NET Framework Security

See Also

Reference

ITestCaseResultHelper Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestCaseResult