Delen via


TfsTeamProjectCollection Constructor (Uri, TfsClientCredentials, IdentityDescriptor, ITfsRequestChannelFactory)

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    uri As Uri, _
    credentials As TfsClientCredentials, _
    identityToImpersonate As IdentityDescriptor, _
    channelFactory As ITfsRequestChannelFactory _
)
public TfsTeamProjectCollection(
    Uri uri,
    TfsClientCredentials credentials,
    IdentityDescriptor identityToImpersonate,
    ITfsRequestChannelFactory channelFactory
)
public:
TfsTeamProjectCollection(
    Uri^ uri, 
    TfsClientCredentials^ credentials, 
    IdentityDescriptor^ identityToImpersonate, 
    ITfsRequestChannelFactory^ channelFactory
)
new : 
        uri:Uri * 
        credentials:TfsClientCredentials * 
        identityToImpersonate:IdentityDescriptor * 
        channelFactory:ITfsRequestChannelFactory -> TfsTeamProjectCollection
public function TfsTeamProjectCollection(
    uri : Uri, 
    credentials : TfsClientCredentials, 
    identityToImpersonate : IdentityDescriptor, 
    channelFactory : ITfsRequestChannelFactory
)

Parameters

  • channelFactory
    Type: ITfsRequestChannelFactory

.NET Framework Security

See Also

Reference

TfsTeamProjectCollection Class

TfsTeamProjectCollection Overload

Microsoft.TeamFoundation.Client Namespace