ILinkedWorkItemExtension.OnWorkItemRemoved Method
Called before the model element is unlinked from a work item, including when the model element is deleted.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
'Declaration
Sub OnWorkItemRemoved ( _
element As IElement, _
serverUri As String, _
workItemId As Integer _
)
void OnWorkItemRemoved(
IElement element,
string serverUri,
int workItemId
)
void OnWorkItemRemoved(
IElement^ element,
String^ serverUri,
int workItemId
)
abstract OnWorkItemRemoved :
element:IElement *
serverUri:string *
workItemId:int -> unit
function OnWorkItemRemoved(
element : IElement,
serverUri : String,
workItemId : int
)
Parameters
element
Type: Microsoft.VisualStudio.Uml.Classes.IElementModel element that is to be unlinked.
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