TfsTeamProjectCollection Constructor (Uri, IdentityDescriptor)

Initializes a new instance of the TfsTeamProjectCollection class.

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

Syntax

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

Parameters

  • uri
    Type: System.Uri

    The URI of the project collection.

Exceptions

Exception Condition
ArgumentNullException

when uri is null

.NET Framework Security

See Also

Reference

TfsTeamProjectCollection Class

TfsTeamProjectCollection Overload

Microsoft.TeamFoundation.Client Namespace