Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Locking Service
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Server.TeamFoundationLockingService
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationResourceManagementService))> _
Public NotInheritable Class TeamFoundationLockingService _
Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationResourceManagementService))]
public sealed class TeamFoundationLockingService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationResourceManagementService))]
public ref class TeamFoundationLockingService sealed : ITeamFoundationService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationResourceManagementService))>]
type TeamFoundationLockingService =
class
interface ITeamFoundationService
end
public final class TeamFoundationLockingService implements ITeamFoundationService
The TeamFoundationLockingService type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
AcquireLock(TeamFoundationRequestContext, TeamFoundationLockInfo) | Gets a cross-process lock on the given resource. |
![]() |
AcquireLock(TeamFoundationRequestContext, TeamFoundationLockMode, String) | Gets a cross-process lock on the given resource. |
![]() |
AcquireLock(TeamFoundationRequestContext, TeamFoundationLockMode, String, Int32) | Gets a cross-process lock on the given resource. |
![]() |
AcquireLocks(TeamFoundationRequestContext, TeamFoundationLockMode, array<String[]) | Gets cross-process locks on one or more resources. |
![]() |
AcquireLocks(TeamFoundationRequestContext, TeamFoundationLockMode, Int32, array<String[]) | Gets cross-process locks on one or more resources. |
![]() |
AcquireLocks(TeamFoundationRequestContext, TeamFoundationLockMode, Int32, Boolean, array<String[]) | Gets cross-process locks on one or more resources. |
![]() |
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.) |
![]() |
QueryLockMode | Returns true if an exclusive lock on the given resource is currently held. |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
ITeamFoundationService.ServiceEnd | Implementation of ITeamFoundationService.ServiceEnd. |
![]() ![]() |
ITeamFoundationService.ServiceStart | Implementation of 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.