Freigeben über


TeamFoundationLinkingService Class

Implementation of the server-side version of the Linking service.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Server.Core.TeamFoundationLinkingService

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationLocationService))> _
<TeamFoundationServiceDependency(GetType(RegistrationProvider))> _
Public Class TeamFoundationLinkingService _
    Implements ITeamFoundationService, IDisposable
[TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))]
[TeamFoundationServiceDependency(typeof(RegistrationProvider))]
public class TeamFoundationLinkingService : ITeamFoundationService, 
    IDisposable
[TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))]
[TeamFoundationServiceDependency(typeof(RegistrationProvider))]
public ref class TeamFoundationLinkingService : ITeamFoundationService, 
    IDisposable
[<TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))>]
[<TeamFoundationServiceDependency(typeof(RegistrationProvider))>]
type TeamFoundationLinkingService =  
    class 
        interface ITeamFoundationService 
        interface IDisposable 
    end
public class TeamFoundationLinkingService implements ITeamFoundationService, IDisposable

The TeamFoundationLinkingService type exposes the following members.

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetArtifacts Gets the artifacts for the provided URLs.
Public method GetArtifactUrl(TeamFoundationRequestContext, ArtifactId) Gets URL for artifact for addressability in links. This version will get the server URL from the location service.
Public method GetArtifactUrl(TeamFoundationRequestContext, String) Gets URL for artifact for addressability in links. This version will get the server URL from the location service.
Public method GetArtifactUrlExternal(TeamFoundationRequestContext, ArtifactId) Gets URL for artifact for addressability in links. This version will get the server URL part from web.config. It is intended to generate a URL for external access.
Public method GetArtifactUrlExternal(TeamFoundationRequestContext, String) Gets URL for artifact for addressability in links. This version will get the server URL part from web.config. It is intended to generate a URL for external access.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetReferencingArtifacts(TeamFoundationRequestContext, array<String[]) Gets artifacts which reference the provided artifact URLs.
Public method GetReferencingArtifacts(TeamFoundationRequestContext, array<String[], array<LinkFilter[]) Gets the artifacts which reference the provided artifact URLs restricting the scope with the provided filters.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ServiceEnd Ends the service.
Public method ServiceStart Starts the service.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDisposable.Dispose

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 Namespace