OrderedLock Class

Provides a synchronization mechanism that preserves ordering.

System.Object
  Microsoft.TeamFoundation.Framework.Server.OrderedLock

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

public sealed class OrderedLock : IDisposable

The OrderedLock type exposes the following members.

  NameDescription
Public methodOrderedLock
Top

  NameDescription
Public methodDispose
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 methodSavePositionSaves a position in the queue and returns an object which may be used to block the calling thread until the position becomes available.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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