Method Dispose
Dispose()
Leaves the lock. Does nothing if the guard did not enter the lock or has already been disposed.
Declaration
public void Dispose()
Implements
Exceptions
| Type | Condition |
|---|---|
| SynchronizationLockException | The lock is not held in read mode, because a copy of the guard has already been disposed. |