Partager via


TfsTeamProjectCollection, constructeur (RegisteredProjectCollection, ICredentials, ICredentialsProvider, IdentityDescriptor)

Remarque : cette API est maintenant obsolète.

Initialise une nouvelle instance de la classe de TfsTeamProjectCollection.

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

Syntaxe

'Déclaration
<ObsoleteAttribute("This method has been deprecated and will be removed in a future release. See constructors which utilize TfsClientCredentials instead.")> _
Public Sub New ( _
    projectCollection As RegisteredProjectCollection, _
    credentials As ICredentials, _
    credentialsProvider As ICredentialsProvider, _
    identityToImpersonate As IdentityDescriptor _
)
[ObsoleteAttribute("This method has been deprecated and will be removed in a future release. See constructors which utilize TfsClientCredentials instead.")]
public TfsTeamProjectCollection(
    RegisteredProjectCollection projectCollection,
    ICredentials credentials,
    ICredentialsProvider credentialsProvider,
    IdentityDescriptor identityToImpersonate
)

Paramètres

Sécurité .NET Framework

Voir aussi

Référence

TfsTeamProjectCollection Classe

TfsTeamProjectCollection, surcharge

Microsoft.TeamFoundation.Client, espace de noms