Share via


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 네임스페이스