Files
Dec2017-Script-Dump/System.Core/System/Threading/LockRecursionException.cs
T
2026-06-04 11:42:34 +02:00

48 lines
2.6 KiB
C#

using System;
using System.Runtime.Serialization;
namespace System.Threading
{
/// <summary>The exception that is thrown when recursive entry into a lock is not compatible with the recursion policy for the lock.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x02000051 RID: 81
[Serializable]
public class LockRecursionException : Exception
{
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.LockRecursionException" /> class with a system-supplied message that describes the error.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x06000470 RID: 1136 RVA: 0x0001667C File Offset: 0x0001487C
public LockRecursionException()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.LockRecursionException" /> class with a specified message that describes the error.</summary>
/// <param name="message">The message that describes the exception. The caller of this constructor must make sure that this string has been localized for the current system culture. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06000471 RID: 1137 RVA: 0x00016684 File Offset: 0x00014884
public LockRecursionException(string message)
: base(message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.LockRecursionException" /> 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 message that describes the exception. The caller of this constructor must make sure that this string has been localized for the current system culture. </param>
/// <param name="innerException">The exception that caused 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>
/// <filterpriority>2</filterpriority>
// Token: 0x06000472 RID: 1138 RVA: 0x00016690 File Offset: 0x00014890
public LockRecursionException(string message, Exception e)
: base(message, e)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.LockRecursionException" /> class with serialized data.</summary>
/// <param name="info">The object that holds the serialized object data.</param>
/// <param name="context">The contextual information about the source or destination.</param>
// Token: 0x06000473 RID: 1139 RVA: 0x0001669C File Offset: 0x0001489C
protected LockRecursionException(SerializationInfo info, StreamingContext sc)
: base(info, sc)
{
}
}
}