Share via


OrderedLock.Position Class

Inheritance Hierarchy

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

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

Syntax

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

The OrderedLock.Position type exposes the following members.

Properties

  Name Description
Public property Id

Top

Methods

  Name Description
Public method Dispose Releases the position lock and allows the next waiter to continue.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Wait Blocks until the position becomes available.

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