ILinkedWorkItemExtension Interface

 

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.

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

[CLSCompliantAttribute(false)]
public interface class ILinkedWorkItemExtension

NameDescription
System_CAPS_pubmethodOnWorkItemCreated(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.

System_CAPS_pubmethodOnWorkItemLinked(IEnumerable<IElement^>^, String^, Int32)

Called when a link is made to a new or existing TFS work item.

System_CAPS_pubmethodOnWorkItemRemoved(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.

Return to top
Show: