TeamFoundationCatalogService Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Server.Core.TeamFoundationCatalogService

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationSecurityService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationSqlNotificationService))> _
<TeamFoundationServiceDependency(GetType(IdentityService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationPropertyService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationLocationService))> _
Public NotInheritable Class TeamFoundationCatalogService _
    Implements ITeamFoundationService, IDisposable
[TeamFoundationServiceDependency(typeof(TeamFoundationSecurityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(IdentityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationPropertyService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))]
public sealed class TeamFoundationCatalogService : ITeamFoundationService, 
    IDisposable
[TeamFoundationServiceDependency(typeof(TeamFoundationSecurityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(IdentityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationPropertyService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))]
public ref class TeamFoundationCatalogService sealed : ITeamFoundationService, 
    IDisposable
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationSecurityService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))>]
[<TeamFoundationServiceDependency(typeof(IdentityService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationPropertyService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))>]
type TeamFoundationCatalogService =  
    class 
        interface ITeamFoundationService 
        interface IDisposable 
    end
public final class TeamFoundationCatalogService implements ITeamFoundationService, IDisposable

The TeamFoundationCatalogService type exposes the following members.

Methods

  Name Description
Public method CreateTransactionContext Creates a transaction context to make changes in.
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 GetType Gets the Type of the current instance. (Inherited from Object.)
Public method QueryCatalogDependents Returns all of the nodes that depend on the nodes existence.
Public method QueryNodes(TeamFoundationRequestContext, String, Guid) Returns the catalog nodes that exist below the pathSpec and have a type that is listed in resourceTypeFilter. See overloads for more details and more options.
Public method QueryNodes(TeamFoundationRequestContext, IEnumerable<String>, IEnumerable<Guid>, CatalogQueryOptions) Returns the catalog nodes that exist below the parentPath and have a type that is listed in resourceTypeFilters.
Public method QueryNodes(TeamFoundationRequestContext, String, Guid, IEnumerable<KeyValuePair<String, String>>)
Public method QueryNodes(TeamFoundationRequestContext, IEnumerable<String>, IEnumerable<Guid>, IEnumerable<KeyValuePair<String, String>>, CatalogQueryOptions) Returns the catalog nodes that exist below the parentPath and have a type that is listed in resourceTypeFilters.
Public method QueryNodes(TeamFoundationRequestContext, String, Guid, IEnumerable<KeyValuePair<String, String>>, CatalogQueryOptions)
Public method QueryParents Returns the nodes for the resource provided as well as the parents. The direct nodes and the parent nodes will not be returned if they are filtered out. For the following tree: PG1 / \ PG2 PG3 / \ \ TPC1 TPC2 TPC3 / \ TP1 TP2 Query for TP1's identifier with no filters and recursing to the root would yeild TP1, TPC1, PG2 and PG1.
Public method QueryResources(TeamFoundationRequestContext, IEnumerable<Guid>, CatalogQueryOptions) Returns the resource that is associated with the identifier.
Public method QueryResources(TeamFoundationRequestContext, IEnumerable<Guid>, IEnumerable<KeyValuePair<String, String>>, CatalogQueryOptions) Retuns all of the catalog resources for the provided types.
Public method QueryResourcesByType Retuns all of the catalog resources for the provided types.
Public method QueryResourceType Returns the resource type for the specified identifier.
Public method QueryResourceTypes Returns the resource types for all of the specified identifiers. If null or an empty list is passed in, all resource types will be returned.
Public method QueryRootNode Returns the specified root node. Well-known root paths can be found in Microsoft.TeamFoundation.Framework.Common.Catalog.CatalogTree.
Public method QueryRootNodes Returns the root nodes in the tree.
Public method SaveTransactionContextChanges Saves the changes associated with the transaction context after performing permission checks on them.
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 Dispose - do not call directly!
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd Cleans up and resources.
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart Initializes the class.

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