Name
ThreadInterruptedException
Synopsis
This exception is thrown on a thread in
the ThreadState.WaitSleepJoin
state when Thread.Interrupt()
is
called.
public class ThreadInterruptedException : SystemException { // Public Constructors public method ThreadInterruptedException(); public method ThreadInterruptedException(string message); public method ThreadInterruptedException(string message, Exception innerException); // Protected Constructors protected method ThreadInterruptedException( System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context); }
Hierarchy
System.Object→System.Exception(System.Runtime.Serialization.ISerializable)→System.SystemException→ThreadInterruptedException
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.