Visual Basic (Declaration) | |
---|---|
Public Overloads Function AcquireLock( _ ByVal id As TKey _ ) As LockSession(Of TKey,TValue) |
Visual Basic (Usage) | ![]() |
---|---|
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
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