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
)

参数

.NET Framework 安全性

请参阅

参考

TfsTeamProjectCollection 类

TfsTeamProjectCollection 重载

Microsoft.TeamFoundation.Client 命名空间