Troubleshooting Exceptions: System.Threading.SynchronizationLockException

 

The exception that is thrown when a method requires the caller to own the lock on a given Monitor, and the method is invoked by a caller that does not own that lock.

Remarks

A SynchronizationLockException is thrown by calling the Exit, Pulse, PulseAll, and Wait methods of the Monitor class from an unsynchronized block of code.

See Also

SynchronizationLockException
How to: Use the Exception Assistant