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 the <see cref="Overload:System.Threading.Semaphore.Release" /> method is called on a semaphore whose count is already at the maximum. </summary>
/// <filterpriority>2</filterpriority>
// Token: 0x020002EC RID: 748
[ComVisible(false)]
[Serializable]
public class SemaphoreFullException : SystemException
{
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.SemaphoreFullException" /> class with default values.</summary>
// Token: 0x06001B2F RID: 6959 RVA: 0x00063D8C File Offset: 0x00061F8C
public SemaphoreFullException()
: base(global::Locale.GetText("Exceeding maximum."))
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.SemaphoreFullException" /> class with a specified error message.</summary>
/// <param name="message">The error message that explains the reason for the exception.</param>
// Token: 0x06001B30 RID: 6960 RVA: 0x00063DA0 File Offset: 0x00061FA0
public SemaphoreFullException(string message)
: base(message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.SemaphoreFullException" /> 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: 0x06001B31 RID: 6961 RVA: 0x00063DAC File Offset: 0x00061FAC
public SemaphoreFullException(string message, Exception innerException)
: base(message, innerException)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.SemaphoreFullException" /> class with serialized data.</summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that holds the serialized object data about the exception being thrown. </param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> object that contains contextual information about the source or destination.</param>
// Token: 0x06001B32 RID: 6962 RVA: 0x00063DB8 File Offset: 0x00061FB8
protected SemaphoreFullException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}