using System; using System.Runtime.InteropServices; using System.Runtime.Serialization; namespace System.Threading { /// The exception that is thrown when a is in an invalid for the method call. /// 2 // Token: 0x02000625 RID: 1573 [ComVisible(true)] [Serializable] public class ThreadStateException : SystemException { /// Initializes a new instance of the class with default properties. // Token: 0x060039C8 RID: 14792 RVA: 0x000C6424 File Offset: 0x000C4624 public ThreadStateException() : base("Thread State Error") { } /// Initializes a new instance of the class with a specified error message. /// The error message that explains the reason for the exception. // Token: 0x060039C9 RID: 14793 RVA: 0x000C6434 File Offset: 0x000C4634 public ThreadStateException(string message) : base(message) { } /// Initializes a new instance of the class with serialized data. /// The that holds the serialized object data about the exception being thrown. /// The that contains contextual information about the source or destination. // Token: 0x060039CA RID: 14794 RVA: 0x000C6440 File Offset: 0x000C4640 protected ThreadStateException(SerializationInfo info, StreamingContext context) : base(info, context) { } /// 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: 0x060039CB RID: 14795 RVA: 0x000C644C File Offset: 0x000C464C public ThreadStateException(string message, Exception innerException) : base(message, innerException) { } } }