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