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: Int32An int that identifies the test run for the test case result.
testResultId
Type: Int32An 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ITestCaseResultHelper Interface