Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITestCaseResult::AssociateWorkItem Method (WorkItem^)

 

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)

void AssociateWorkItem(
	WorkItem^ workItem
)

Parameters

workItem
Type: Microsoft.TeamFoundation.WorkItemTracking.Client::WorkItem^

A WorkItem object. Must have been saved previously in order to have a valid URI to store together with the test result.

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

Return to top
Show: