Partager via


DocumentService.GetWorkItem, méthode (TeamFoundationServer, Int32, Object)

Remarque : cette API est maintenant obsolète.

Espace de noms :  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking
Assembly :  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking (dans Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.dll)

Syntaxe

'Déclaration
<ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")> _
Public Function GetWorkItem ( _
    teamFoundationServer As TeamFoundationServer, _
    workItemId As Integer, _
    lockToken As Object _
) As IWorkItemDocument
[ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")]
public IWorkItemDocument GetWorkItem(
    TeamFoundationServer teamFoundationServer,
    int workItemId,
    Object lockToken
)

Paramètres

Valeur de retour

Type : Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.IWorkItemDocument
retourne IWorkItemDocument ;

Sécurité .NET Framework

Voir aussi

Référence

DocumentService Classe

GetWorkItem, surcharge

Microsoft.VisualStudio.TeamFoundation.WorkItemTracking, espace de noms