| Visual Basic (Usage) |  Copy Code | 
|---|---|
| Dim instance As SafeLock Dim value As Boolean value = instance.HasLock() | |
| C# | |
|---|---|
| public bool HasLock() | |
Return Value
True if the current thread owns the lock.Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x
 
     
     
     
     
    
    