C # in a Nutshell, Second Edition

ThreadInterruptedException serializable

System.Threading (mscorlib.dll) class

This exception is thrown on a thread in the ThreadState.WaitSleepJoin state when Thread.Interrupt( ) is called.

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

Hierarchy

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

Категории