Delen via


OrderedLock Class

Provides a synchronization mechanism that preserves ordering.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public NotInheritable Class OrderedLock _
    Implements IDisposable
public sealed class OrderedLock : IDisposable
public ref class OrderedLock sealed : IDisposable
[<Sealed>]
type OrderedLock =  
    class 
        interface IDisposable 
    end
public final class OrderedLock implements IDisposable

The OrderedLock type exposes the following members.

Constructors

  Name Description
Public method OrderedLock

Top

Methods

  Name Description
Public method Dispose
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 GetType Gets the Type of the current instance. (Inherited from Object.)
Public method SavePosition Saves a position in the queue and returns an object which may be used to block the calling thread until the position becomes available.
Public method 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.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace