Share via


TeamFoundationConnectionService Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Server.Core.Location.TeamFoundationConnectionService

Namespace:  Microsoft.TeamFoundation.Server.Core.Location
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationCatalogService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationLocationService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationIdentityService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationMailService))> _
Public NotInheritable Class TeamFoundationConnectionService _
    Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationCatalogService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationMailService))]
public sealed class TeamFoundationConnectionService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationCatalogService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationMailService))]
public ref class TeamFoundationConnectionService sealed : ITeamFoundationService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationCatalogService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationMailService))>]
type TeamFoundationConnectionService =  
    class 
        interface ITeamFoundationService 
    end
public final class TeamFoundationConnectionService implements ITeamFoundationService

The TeamFoundationConnectionService type exposes the following members.

Methods

  Name Description
Public method Connect Provides the client with all of the information they need to know in order to work with the TeamFoundationConnection object. Properties of ConnectionData that do not have a corresponding entries in connectOptions cost very little to calculate and will be returned every type. If no changes have occured since lastChangeId, no service data will be returned. If this is the first time this method is being called or the caller wants all of the information returned then -1 should be passed for lastChangeId.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLocationServiceData Queries the location service for the needed service data.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd Perform clean up steps
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart Perform start up steps

Top

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.

See Also

Reference

Microsoft.TeamFoundation.Server.Core.Location Namespace