Represents an exception that is thrown when a Thread is in an invalid state for the method call.
Object
Exception
SystemException
ThreadStateException
[Visual Basic] Public Class ThreadStateException Inherits SystemException [C#] public class ThreadStateException : SystemException [C++] public __gc class ThreadStateException : public SystemException [JScript] public class ThreadStateException extends SystemException
The ThreadStateException is an exception class that indicates that a Thread is in an invalid state for the method call.
Namespace: System.Threading
Assembly: mscorlib.dll