TfsConfigurationServerFactory Class
Class factory for TfsConfigurationServerFactory objects.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Client.TfsConfigurationServerFactory
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Déclaration
Public NotInheritable Class TfsConfigurationServerFactory
public static class TfsConfigurationServerFactory
public ref class TfsConfigurationServerFactory abstract sealed
[<AbstractClass>]
[<Sealed>]
type TfsConfigurationServerFactory = class end
public final class TfsConfigurationServerFactory
Methods
Name | Description | |
---|---|---|
![]() ![]() |
GetConfigurationServer(Uri) | Gets the TfsConfigurationServer instance that is associated with the server at the specified URI. |
![]() ![]() |
GetConfigurationServer(RegisteredConfigurationServer) | Gets the TfsConfigurationServer instance associated with the specified RegisteredConfigurationServer instance. |
![]() ![]() |
GetConfigurationServer(Uri, ICredentialsProvider) | Gets the TfsConfigurationServer instance associated with the server at the specified URI and a fallback credentials provider. |
![]() ![]() |
GetConfigurationServer(RegisteredConfigurationServer, ICredentialsProvider) | Gets the TfsConfigurationServer instance associated with the specified RegisteredConfigurationServer instance. |
Top
Remarks
This class is designed to enable external packages to use the same instance of a TfsConfigurationServer object. It caches TfsConfigurationServer 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.