AcquireLock(TKey) Method
See Also 
SourceCode.Threading Namespace > LockManagerBase<TKey,TValue> Class > AcquireLock Method : AcquireLock(TKey) Method



id

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Overloads Function AcquireLock( _
   ByVal id As TKey _
) As LockSession(Of TKey,TValue)
Visual Basic (Usage) Copy Code
Dim instance As LockManagerBase(Of TKey,TValue)
Dim id As TKey
Dim value As LockSession(Of TKey,TValue)
 
value = instance.AcquireLock(id)
C#  
public LockSession<TKey,TValue> AcquireLock( 
   TKey id
)
C++/CLI  
public:
LockSession<TKey^,TValue^>^ AcquireLock( 
   TKey^ id
) 

Parameters

id

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also