CreateLockSession Method
See Also 
SourceCode.Threading Namespace > LockManagerBase<TKey,TValue> Class : CreateLockSession Method



lockItem

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Protected Overridable Function CreateLockSession( _
   ByVal lockItem As LockItem(Of TKey,TValue) _
) As LockSession(Of TKey,TValue)
Visual Basic (Usage) Copy Code
Dim instance As LockManagerBase(Of TKey,TValue)
Dim lockItem As LockItem(Of TKey,TValue)
Dim value As LockSession(Of TKey,TValue)
 
value = instance.CreateLockSession(lockItem)
C#  
protected virtual LockSession<TKey,TValue> CreateLockSession( 
   LockItem<TKey,TValue> lockItem
)
C++/CLI  
protected:
virtual LockSession<TKey^,TValue^>^ CreateLockSession( 
   LockItem<TKey^,TValue^>^ lockItem
) 

Parameters

lockItem

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