ITestCaseResult.AssociateWorkItem Method

Links the given work item to this test result.

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

Syntax

'Declaration
Sub AssociateWorkItem ( _
    workItem As WorkItem _
)
void AssociateWorkItem(
    WorkItem workItem
)
void AssociateWorkItem(
    WorkItem^ workItem
)
abstract AssociateWorkItem : 
        workItem:WorkItem -> unit
function AssociateWorkItem(
    workItem : WorkItem
)

Parameters

Remarks

After calling this method, the work item must be saved again to persist the link between the test work item and this test result.

.NET Framework Security

See Also

Reference

ITestCaseResult Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

WorkItem