TeamFoundationLock Class


Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

public sealed class TeamFoundationLock : IDisposable

The TeamFoundationLock type exposes the following members.

Public propertyIsDisposedGets a value indicating whether the lock has been disposed of.
Public propertyLockModeThe mode of the lock. Either shared or exclusive.
Public propertyResourcesThe resource being held by the lock.

Public methodDisposeRelease the lock.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.