Name

SynchronizationLockException

Synopsis

This exception is thrown when Monitor.Exit(), Monitor.Pulse(), Monitor.PulseAll(), or Monitor.Wait() is called from unsynchronized code.

public class SynchronizationLockException : SystemException {
// Public Constructors
   public method SynchronizationLockException();  
   public method SynchronizationLockException(
        string message);  
   public method SynchronizationLockException(string message, 
        Exception innerException);  
// Protected Constructors
   protected method SynchronizationLockException(
        System.Runtime.Serialization.SerializationInfo info, 
        System.Runtime.Serialization.StreamingContext context);  
}

Hierarchy

System.ObjectSystem.Exception(System.Runtime.Serialization.ISerializable)System.SystemExceptionSynchronizationLockException

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.