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.
ISession::AssociateWorkItem Method (WorkItem^)
Associates the given work item with this session.
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Parameters
- workItem
-
Type:
Microsoft.TeamFoundation.WorkItemTracking.Client::WorkItem^
Work item to associate.
The work item must be presaved in order to have a valid URI to be stored with the session. You must also call workItem.Save() after you call this method for the session's link to be persisted to the server.
Show: