| Visual Basic (Usage) |  Copy Code | 
|---|---|
| Dim instance As SafeLock instance.Exit() | |
| C# | |
|---|---|
| public void Exit() | |
| Exception | Description | 
|---|---|
| System.InvalidOperationException | Thrown if the lock state is inconsistent. | 
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x
 
     
     
     
     
    
    