using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System.Threading
{
/// 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.
/// 2
// Token: 0x0200061D RID: 1565
[ComVisible(true)]
[Serializable]
public class SynchronizationLockException : SystemException
{
/// Initializes a new instance of the class with default properties.
// Token: 0x06003933 RID: 14643 RVA: 0x000C5628 File Offset: 0x000C3828
public SynchronizationLockException()
: base("Synchronization Error")
{
}
/// Initializes a new instance of the class with a specified error message.
/// The error message that explains the reason for the exception.
// Token: 0x06003934 RID: 14644 RVA: 0x000C5638 File Offset: 0x000C3838
public SynchronizationLockException(string message)
: base(message)
{
}
/// Initializes a new instance of the class with serialized data.
/// The that holds the serialized object data about the exception being thrown.
/// The that contains contextual information about the source or destination.
// Token: 0x06003935 RID: 14645 RVA: 0x000C5644 File Offset: 0x000C3844
protected SynchronizationLockException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
/// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
/// The error message that explains the reason for the exception.
/// The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception.
// Token: 0x06003936 RID: 14646 RVA: 0x000C5650 File Offset: 0x000C3850
public SynchronizationLockException(string message, Exception innerException)
: base(message, innerException)
{
}
}
}