ILinkedWorkItemExtension Interface
Visual Studio 2015
Implement and export this interface to define a handler for work item links. This is called when an element in a UML model is linked to a TFS work item.
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
| Name | Description | |
|---|---|---|
![]() | OnWorkItemCreated(IEnumerable<IElement^>^, IWorkItemDocument^) | Called when a user wants to link a model element to a new TFS work item. Called before the work item is displayed to the user, so that you can set the fields in currentDocument. |
![]() | OnWorkItemLinked(IEnumerable<IElement^>^, String^, Int32) | Called when a link is made to a new or existing TFS work item. |
![]() | OnWorkItemRemoved(IElement^, String^, Int32) | Called before the model element is unlinked from a work item, including when the model element is deleted. |
For more information about UML diagrams, see Create models for your app.
For more information about using the UML API, see Extend UML models and diagrams.
Show:
