Method Dispose
Dispose()
Leaves the lock. Does nothing if the guard has already been disposed.
Declaration
public void Dispose()
Implements
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | The guard is disposed on a different thread than the one that entered the lock. |