Share via


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

Tasks

How to: Use the Exception Assistant

Reference

SynchronizationLockException