Files
2026-06-04 11:42:34 +02:00

48 lines
2.6 KiB
C#

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