Share via


OrderedLock.SavePosition Method

Saves a position in the queue and returns an object which may be used to block the calling thread until the position becomes available.

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

Syntax

'Declaration
Public Function SavePosition As OrderedLock.Position
public OrderedLock.Position SavePosition()
public:
OrderedLock::Position^ SavePosition()
member SavePosition : unit -> OrderedLock.Position
public function SavePosition() : OrderedLock.Position

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.OrderedLock.Position
An object that represents the position in the queue

.NET Framework Security

See Also

Reference

OrderedLock Class

Microsoft.TeamFoundation.Framework.Server Namespace