Export (0) Print
Expand All
Expand Minimize

TfsTeamProjectCollection Constructor (Uri, ICredentials)

Initializes a new instance of the TfsTeamProjectCollection class.

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

public TfsTeamProjectCollection(
	Uri uri,
	ICredentials credentials
)

Parameters

uri
Type: System.Uri

The uniform resource identifier (URI) of the project collection.

credentials
Type: System.Net.ICredentials

The authentication credentials.

ExceptionCondition
ArgumentNullException

when uri or credentials is null

Show:
© 2014 Microsoft