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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.