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)
Syntax
void AssociateWorkItem(
WorkItem workItem
)
void AssociateWorkItem(
WorkItem^ workItem
)
abstract AssociateWorkItem :
workItem:WorkItem -> unit
Sub AssociateWorkItem (
workItem As WorkItem
)
Parameters
workItem
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemA WorkItem object. Must have been saved previously in order to have a valid URI to store together with the test result.
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.
See Also
WorkItem
ITestCaseResult Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top