Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the WorkItemLink class from the specified WorkItemLinkTypeEnd, source ID, and target ID.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Sub New ( _
linkTypeEnd As WorkItemLinkTypeEnd, _
sourceId As Integer, _
targetId As Integer _
)
public WorkItemLink(
WorkItemLinkTypeEnd linkTypeEnd,
int sourceId,
int targetId
)
public:
WorkItemLink(
WorkItemLinkTypeEnd^ linkTypeEnd,
int sourceId,
int targetId
)
new :
linkTypeEnd:WorkItemLinkTypeEnd *
sourceId:int *
targetId:int -> WorkItemLink
public function WorkItemLink(
linkTypeEnd : WorkItemLinkTypeEnd,
sourceId : int,
targetId : int
)
Parameters
linkTypeEnd
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemLinkTypeEndThe WorkItemLinkTypeEnd that defines the link.
sourceId
Type: System.Int32The ID of the source WorkItem.
targetId
Type: System.Int32The ID of the target WorkItem.
.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.