共用方式為


TswaServerHyperlinkService Class

A utility class for generating Team Web Access hyperlinks.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Common.TswaHyperlinkBuilder
    Microsoft.TeamFoundation.Server.Core.TswaServerHyperlinkService

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationHostManagementService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationLocationService))> _
Public Class TswaServerHyperlinkService _
    Inherits TswaHyperlinkBuilder _
    Implements ITeamFoundationService, ITswaServerHyperlinkService
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))]
public class TswaServerHyperlinkService : TswaHyperlinkBuilder, 
    ITeamFoundationService, ITswaServerHyperlinkService
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))]
public ref class TswaServerHyperlinkService : public TswaHyperlinkBuilder, 
    ITeamFoundationService, ITswaServerHyperlinkService
[<TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))>]
type TswaServerHyperlinkService =  
    class 
        inherit TswaHyperlinkBuilder 
        interface ITeamFoundationService 
        interface ITswaServerHyperlinkService 
    end
public class TswaServerHyperlinkService extends TswaHyperlinkBuilder implements ITeamFoundationService, ITswaServerHyperlinkService

The TswaServerHyperlinkService type exposes the following members.

Properties

  Name Description
Protected property CollectionId A project collection ID. (Inherited from TswaHyperlinkBuilder.)
Protected property CompatibleMode Returns true when you are working with older servers. (Inherited from TswaHyperlinkBuilder.)

Top

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 GetAnnotateSourceControlItemUrl(String, Int32) Gets an annotate item URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetAnnotateSourceControlItemUrl(String, String) Gets an annotate item URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetAnnotateSourceControlItemUrl(String, Int32, String) Gets an annotate item URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetAnnotateSourceControlItemUrl(String, String, String) Gets an annotate item URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetArtifactViewerUrl(Uri) Gets a viewer URL for a TFS artifact. (Inherited from TswaHyperlinkBuilder.)
Public method GetArtifactViewerUrl(Uri, String) Gets a viewer URL for a TFS artifact. (Inherited from TswaHyperlinkBuilder.)
Public method GetChangesetDetailsUrl(Int32) Gets a changeset details URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetChangesetDetailsUrl(Int32, String) Gets a changeset details browser URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetDifferenceSourceControlItemsUrl(String, Int32, String, Int32) Gets a URL for a diff tool. (Inherited from TswaHyperlinkBuilder.)
Public method GetDifferenceSourceControlItemsUrl(String, String, String, String) Gets a URL for a diff tool. (Inherited from TswaHyperlinkBuilder.)
Public method GetDifferenceSourceControlItemsUrl(String, Int32, String, Int32, String) Gets a URL for a diff tool. (Inherited from TswaHyperlinkBuilder.)
Public method GetDifferenceSourceControlItemsUrl(String, String, String, String, String) Gets a URL for a diff tool. (Inherited from TswaHyperlinkBuilder.)
Public method GetDifferenceSourceControlShelvedItemUrl(String, Int32, String, String, String) Gets a URL for a diff tool. (Inherited from TswaHyperlinkBuilder.)
Public method GetDifferenceSourceControlShelvedItemUrl(String, String, String, String, String, String) Gets a URL for a diff tool. (Inherited from TswaHyperlinkBuilder.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetHistorySourceControlItemUrl(String, String) Gets history viewer URL for a source control item. (Inherited from TswaHyperlinkBuilder.)
Public method GetHistorySourceControlItemUrl(String, String, String) Gets history viever URL for a source control item. (Inherited from TswaHyperlinkBuilder.)
Public method GetHomeUrl() Get Team Web Access root URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetHomeUrl(String) Get Team Web Access root URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetHomeUrl(Uri) Gets Team Web Access home URL for a specified project. (Inherited from TswaHyperlinkBuilder.)
Public method GetHomeUrl(Uri, String) Gets Team Web Access home URL for a specified project. (Inherited from TswaHyperlinkBuilder.)
Public method GetShelvesetDetailsUrl(String, String) Gets a shelveset details url. (Inherited from TswaHyperlinkBuilder.)
Public method GetShelvesetDetailsUrl(String, String, String) Gets a shelveset details URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetSourceExplorerUrl(String) Gets a Source Explorer URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetSourceExplorerUrl(String, String) Gets a Source Explorer URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetTeamHomeUrl (Inherited from TswaHyperlinkBuilder.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method GetUrl Get the template for the location of the specified Tswa service. (Overrides TswaHyperlinkBuilder.GetUrl(String, String).)
Public method GetViewBuildDetailsUrl(Uri) Gets a view build details URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetViewBuildDetailsUrl(Uri, String) Gets a view build details URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetViewSourceControlItemUrl(Int32, String) Gets a view source control item URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetViewSourceControlItemUrl(String, Int32) Gets a view source control item URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetViewSourceControlItemUrl(String, String) Gets a view source control item URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetViewSourceControlItemUrl(Int32, String, String) Gets a view source control item URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetViewSourceControlItemUrl(String, Int32, String) Gets a view source control item URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetViewSourceControlItemUrl(String, String, String) Gets a view source control item URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetViewSourceControlShelvedItemUrl(String, String, String) Gets a view source control shelveset item URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetViewSourceControlShelvedItemUrl(String, String, String, String) Gets a view source control shelveset item URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetWorkItemEditorUrl(Int32) Gets a Work Item Editor URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetWorkItemEditorUrl(Int32, String) Gets a Work Item Editor URL. (Inherited from TswaHyperlinkBuilder.)
Public method GetWorkItemEditorUrl(Uri, String) Gets a work item editor URL that creates a work item of a specified work item type. (Inherited from TswaHyperlinkBuilder.)
Public method GetWorkItemEditorUrl(Uri, String, String) Gets a work item editor URL that creates a work item of a specified work item type. (Inherited from TswaHyperlinkBuilder.)
Public method GetWorkItemQueryEditorUrl(Uri, String) (Inherited from TswaHyperlinkBuilder.)
Public method GetWorkItemQueryEditorUrl(Uri, String, String) (Inherited from TswaHyperlinkBuilder.)
Public method GetWorkItemQueryResultsUrl(Uri, Guid) Gets a work item query results viewer URL for Team Web Access. (Inherited from TswaHyperlinkBuilder.)
Public method GetWorkItemQueryResultsUrl(Uri, String) Gets a work item query results viewer URL for Team Web Access. (Inherited from TswaHyperlinkBuilder.)
Public method GetWorkItemQueryResultsUrl(Uri, Guid, String) Gets a work item query results viewer URL for Team Web Access. (Inherited from TswaHyperlinkBuilder.)
Public method GetWorkItemQueryResultsUrl(Uri, String, String) Gets a work item query results viewer URL for Team Web Access. (Inherited from TswaHyperlinkBuilder.)
Public method GetWorkItemWiqlQueryEditorUrl(Uri, String, String) Gets a query editor URL for Team Web Access. (Inherited from TswaHyperlinkBuilder.)
Public method GetWorkItemWiqlQueryEditorUrl(Uri, String, String, String) Gets a query editor URL for Team Web Access. (Inherited from TswaHyperlinkBuilder.)
Public method GetWorkItemWiqlQueryResultsUrl(Uri, String, String) Gets a work item query results viewer URL for Team Web Access. (Inherited from TswaHyperlinkBuilder.)
Public method GetWorkItemWiqlQueryResultsUrl(Uri, String, String, String) Gets a work item query results viewer URL for Team Web Access. (Inherited from TswaHyperlinkBuilder.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (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
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart
Explicit interface implemetationPrivate method ITswaServerHyperlinkService.GetHomeUrl
Explicit interface implemetationPrivate method ITswaServerHyperlinkService.GetWorkItemEditorUrl

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