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 | |
---|---|---|
CreateTransactionContext | Creates a transaction context to make changes in. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
QueryCatalogDependents | Returns all of the nodes that depend on the nodes existence. | |
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. | |
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. | |
QueryNodes(TeamFoundationRequestContext, String, Guid, IEnumerable<KeyValuePair<String, String>>) | ||
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. | |
QueryNodes(TeamFoundationRequestContext, String, Guid, IEnumerable<KeyValuePair<String, String>>, CatalogQueryOptions) | ||
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. | |
QueryResources(TeamFoundationRequestContext, IEnumerable<Guid>, CatalogQueryOptions) | Returns the resource that is associated with the identifier. | |
QueryResources(TeamFoundationRequestContext, IEnumerable<Guid>, IEnumerable<KeyValuePair<String, String>>, CatalogQueryOptions) | Retuns all of the catalog resources for the provided types. | |
QueryResourcesByType | Retuns all of the catalog resources for the provided types. | |
QueryResourceType | Returns the resource type for the specified identifier. | |
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. | |
QueryRootNode | Returns the specified root node. Well-known root paths can be found in Microsoft.TeamFoundation.Framework.Common.Catalog.CatalogTree. | |
QueryRootNodes | Returns the root nodes in the tree. | |
SaveTransactionContextChanges | Saves the changes associated with the transaction context after performing permission checks on them. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IDisposable.Dispose | Dispose - do not call directly! | |
ITeamFoundationService.ServiceEnd | Cleans up and resources. | |
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.