Поделиться через


TfsTeamProjectCollection - конструктор (RegisteredProjectCollection, ICredentials, ICredentialsProvider, IdentityDescriptor)

Примечание. Данный API устарел.

Инициализирует новый экземпляр класса TfsTeamProjectCollection.

Пространство имен:  Microsoft.TeamFoundation.Client
Сборка:  Microsoft.TeamFoundation.Client (в Microsoft.TeamFoundation.Client.dll)

Синтаксис

'Декларация
<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
)

Параметры

  • credentials
    Тип: System.Net.ICredentials
    Используется для проверки подлинности пользователя.
  • credentialsProvider
    Тип: Microsoft.TeamFoundation.Client.ICredentialsProvider
    Используется для получения учетных данных, если учетные данные для текущей среды, завершатся ошибкой.

Безопасность платформы .NET Framework

См. также

Ссылки

TfsTeamProjectCollection Класс

TfsTeamProjectCollection - перегрузка

Microsoft.TeamFoundation.Client - пространство имен