ILinkedWorkItemExtension.OnWorkItemLinked Method
Called when a link is made to a new or existing TFS work item.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
'Declaration
Sub OnWorkItemLinked ( _
elements As IEnumerable(Of IElement), _
serverUri As String, _
workItemId As Integer _
)
void OnWorkItemLinked(
IEnumerable<IElement> elements,
string serverUri,
int workItemId
)
void OnWorkItemLinked(
IEnumerable<IElement^>^ elements,
String^ serverUri,
int workItemId
)
abstract OnWorkItemLinked :
elements:IEnumerable<IElement> *
serverUri:string *
workItemId:int -> unit
function OnWorkItemLinked(
elements : IEnumerable<IElement>,
serverUri : String,
workItemId : int
)
Parameters
elements
Type: System.Collections.Generic.IEnumerable<IElement>Model elements that are to be linked.
serverUri
Type: System.StringIdentity of the TFS server.
workItemId
Type: System.Int32Work item number.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ILinkedWorkItemExtension Interface
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace