TfsTeamProjectCollection Constructor (Uri, TfsClientCredentials, IdentityDescriptor, ITfsRequestChannelFactory, Boolean)
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, _
fromFactory As Boolean _
)
public TfsTeamProjectCollection(
Uri uri,
TfsClientCredentials credentials,
IdentityDescriptor identityToImpersonate,
ITfsRequestChannelFactory channelFactory,
bool fromFactory
)
public:
TfsTeamProjectCollection(
Uri^ uri,
TfsClientCredentials^ credentials,
IdentityDescriptor^ identityToImpersonate,
ITfsRequestChannelFactory^ channelFactory,
bool fromFactory
)
new :
uri:Uri *
credentials:TfsClientCredentials *
identityToImpersonate:IdentityDescriptor *
channelFactory:ITfsRequestChannelFactory *
fromFactory:bool -> TfsTeamProjectCollection
public function TfsTeamProjectCollection(
uri : Uri,
credentials : TfsClientCredentials,
identityToImpersonate : IdentityDescriptor,
channelFactory : ITfsRequestChannelFactory,
fromFactory : boolean
)
Parameters
- uri
Type: System.Uri
- credentials
Type: Microsoft.TeamFoundation.Client.TfsClientCredentials
- identityToImpersonate
Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor
- channelFactory
Type: ITfsRequestChannelFactory
- fromFactory
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
TfsTeamProjectCollection Class