TeamFoundationLock Class
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Server.TeamFoundationLock
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public NotInheritable Class TeamFoundationLock _
Implements IDisposable
public sealed class TeamFoundationLock : IDisposable
public ref class TeamFoundationLock sealed : IDisposable
[<Sealed>]
type TeamFoundationLock =
class
interface IDisposable
end
public final class TeamFoundationLock implements IDisposable
The TeamFoundationLock type exposes the following members.
Properties
Name | Description | |
---|---|---|
IsDisposed | Gets a value indicating whether the lock has been disposed of. | |
LockMode | The mode of the lock. Either shared or exclusive. | |
Resources | The resource being held by the lock. |
Top
Methods
Name | Description | |
---|---|---|
Dispose | Release the lock. | |
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.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.