TfsTeamProjectCollectionFactory Class
Class factory for TfsTeamProjectCollection objects.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Client.TfsTeamProjectCollectionFactory
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Déclaration
Public NotInheritable Class TfsTeamProjectCollectionFactory
public static class TfsTeamProjectCollectionFactory
public ref class TfsTeamProjectCollectionFactory abstract sealed
[<AbstractClass>]
[<Sealed>]
type TfsTeamProjectCollectionFactory = class end
public final class TfsTeamProjectCollectionFactory
Methods
Name | Description | |
---|---|---|
GetTeamProjectCollection(Uri) | Gets the TfsTeamProjectCollection instance that is associated with the server at the specified URI. | |
GetTeamProjectCollection(RegisteredProjectCollection) | Gets the TfsTeamProjectCollection instance that is associated with the specified RegisteredProjectCollection instance. | |
GetTeamProjectCollection(Uri, ICredentialsProvider) | Gets the TfsTeamProjectCollection instance that is associated with the server at the specified URI and a fallback credentials provider. | |
GetTeamProjectCollection(RegisteredProjectCollection, ICredentialsProvider) | Gets the TfsTeamProjectCollection instance that is associated with the specified RegisteredProjectCollection instance and fallback credentials provider. |
Top
Remarks
This class is designed to enable external packages to use the same instance of a TfsTeamProjectCollection object. It caches TfsTeamProjectCollection objects without regard to credentials. Cached objects are indexed only by server uniform resource identifier (URI).
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.