Share via


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)

Syntax

[CLSCompliantAttribute(false)]
public interface ILinkedWorkItemExtension
[CLSCompliantAttribute(false)]
public interface class ILinkedWorkItemExtension
[<CLSCompliantAttribute(false)>]
type ILinkedWorkItemExtension = interface end
<CLSCompliantAttribute(False)>
Public Interface ILinkedWorkItemExtension

Methods

Name Description
System_CAPS_pubmethod 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.

System_CAPS_pubmethod OnWorkItemLinked(IEnumerable<IElement>, String, Int32)

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

System_CAPS_pubmethod OnWorkItemRemoved(IElement, String, Int32)

Called before the model element is unlinked from a work item, including when the model element is deleted.

Remarks

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.

See Also

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace

Return to top