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 <see cref="T:System.Threading.Thread" /> is interrupted while it is in a waiting state.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x02000620 RID: 1568
[ComVisible(true)]
[Serializable]
public class ThreadInterruptedException : SystemException
{
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.ThreadInterruptedException" /> class with default properties.</summary>
// Token: 0x060039B4 RID: 14772 RVA: 0x000C62C4 File Offset: 0x000C44C4
public ThreadInterruptedException()
: base("Thread interrupted")
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.ThreadInterruptedException" /> class with a specified error message.</summary>
/// <param name="message">The error message that explains the reason for the exception. </param>
// Token: 0x060039B5 RID: 14773 RVA: 0x000C62D4 File Offset: 0x000C44D4
public ThreadInterruptedException(string message)
: base(message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.ThreadInterruptedException" /> 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: 0x060039B6 RID: 14774 RVA: 0x000C62E0 File Offset: 0x000C44E0
protected ThreadInterruptedException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.ThreadInterruptedException" /> 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: 0x060039B7 RID: 14775 RVA: 0x000C62EC File Offset: 0x000C44EC
public ThreadInterruptedException(string message, Exception innerException)
: base(message, innerException)
{
}
}
}