Megosztás a következőn keresztül:


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
Public method CreateComponent<TComponent>(TeamFoundationRequestContext) Creates a component that can be used to communicate to the current version of the database.
Public method CreateComponent<TComponent>(TeamFoundationRequestContext, String) Creates a component that can be used to communicate to the current version of the database.
Public method 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.
Public method 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.
Public methodStatic member CreateComponentRaw<TComponent> Creates a versioned component by reading the service version from the database. No caches are used.
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 GetSchemaLock
Public method GetServiceVersion Gets the version information for a particular service
Public methodStatic member GetServiceVersionRaw<TComponent> Retrieves a service version entry and component creator for a given component from the database. No caches are used.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method SetServiceVersion Sets the service version.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public methodStatic member TryCreateComponentRaw<TComponent> Creates a versioned component by reading the service version from the database. No caches are used.
Public methodStatic member 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
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd ServiceEnd is called when the Host is being shut down and this service should free all resources it is holding onto.
Explicit interface implemetationPrivate method 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.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace