Partager via


DocumentService.CreateWorkItem, méthode (TeamFoundationServer, String, String, 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 CreateWorkItem ( _
    teamFoundationServer As TeamFoundationServer, _
    teamProjectName As String, _
    workItemTypeName As String, _
    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 CreateWorkItem(
    TeamFoundationServer teamFoundationServer,
    string teamProjectName,
    string workItemTypeName,
    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

CreateWorkItem, surcharge

Microsoft.VisualStudio.TeamFoundation.WorkItemTracking, espace de noms