[ Team LiB ] Previous Section Next Section

ThreadStateExceptionCF 1.0, ECMA 1.0, serializable

System.Threading (mscorlib.dll)class

This exception is thrown when an invalid method is called on a thread. For example, once a thread has started, it cannot reenter the ThreadState.Unstarted state. Therefore, an attempt to call Thread.Start( ) on that thread throws this exception.

public class ThreadStateException : SystemException {
// Public Constructors
   public ThreadStateException( );
   public ThreadStateException(string message);
   public ThreadStateException(string message, Exception innerException);
// Protected Constructors
   protected ThreadStateException(System.Runtime.Serialization.SerializationInfo info,
       System.Runtime.Serialization.StreamingContext context);
}

Hierarchy

System.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException ThreadStateException

    [ Team LiB ] Previous Section Next Section