TeamFoundationResourceManagementService Class
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Server.TeamFoundationResourceManagementService
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationSqlNotificationService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationTracingService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationLockingService))> _
Public NotInheritable Class TeamFoundationResourceManagementService _
Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationTracingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
public sealed class TeamFoundationResourceManagementService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationTracingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
public ref class TeamFoundationResourceManagementService sealed : ITeamFoundationService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationTracingService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))>]
type TeamFoundationResourceManagementService =
class
interface ITeamFoundationService
end
public final class TeamFoundationResourceManagementService implements ITeamFoundationService
The TeamFoundationResourceManagementService type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateComponent<TComponent>(TeamFoundationRequestContext) | Creates a component that can be used to communicate to the current version of the database. | |
CreateComponent<TComponent>(TeamFoundationRequestContext, String) | Creates a component that can be used to communicate to the current version of the database. | |
CreateComponentExecuteAndDispose<TComponent> | Creates a component that can be used to communicate to the current version of the database, executes a delegate specified by the action parameter and disposes a component. This method will retry an action up to 10 times if database version has changed between the time when component was created and execut. | |
CreateComponentExecuteFuncAndDispose<TComponent, TResult> | Creates a component that can be used to communicate to the current version of the database, executes a delegate specified by the action parameter and disposes a component. This method will retry an action up to 10 times if database version has changed between the time when component was created and execut. | |
CreateComponentRaw<TComponent> | Creates a versioned component by reading the service version from the database. No caches are used. | |
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.) | |
GetSchemaLock | ||
GetServiceVersion | Gets the version information for a particular service | |
GetServiceVersionRaw<TComponent> | Retrieves a service version entry and component creator for a given component from the database. No caches are used. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
SetServiceVersion | Sets the service version. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryCreateComponentRaw<TComponent> | Creates a versioned component by reading the service version from the database. No caches are used. | |
TryGetServiceVersionRaw<TComponent> | Retrieves a service version entry and component creator for a given component from the database. No caches are used. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ITeamFoundationService.ServiceEnd | ServiceEnd is called when the Host is being shut down and this service should free all resources it is holding onto. | |
ITeamFoundationService.ServiceStart |
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.