ThreadAbortException

E697528

ThreadAbortException is a special .NET exception type that is thrown to terminate a thread, typically via Thread.Abort, and can be caught but is automatically rethrown by the runtime.

Jump to: Statements Referenced by

Statements (45)

Predicate Object
instanceOf .NET exception type
exception type
abortCanBeCancelled true
abortCancellationMethod Thread.ResetAbort NERFINISHED
assemblyQualifiedName System.Threading.ThreadAbortException, mscorlib NERFINISHED
baseType System.SystemException NERFINISHED
behaviorOnFinally finally blocks still execute when ThreadAbortException is thrown
canBeCaught true
canBeObservedBy code running on the aborted thread
canBeSuppressed false
category threading exception
CLSCompliant true
definedIn mscorlib.dll
documentationUrl https://learn.microsoft.com/dotnet/api/system.threading.threadabortexception
ExceptionState user-supplied state object passed to Thread.Abort(Object)
hasHResult 0x80131530
inheritsFrom System.Exception NERFINISHED
SystemException NERFINISHED
introducedIn .NET Framework 1.0 NERFINISHED
isAsyncException true
isDiscouragedIn .NET 5+ NERFINISHED
isDiscouragedIn .NET Core NERFINISHED
isMarkedObsoleteIn .NET 5+ NERFINISHED
isNotIntendedFor normal application flow control
isNotThrownBy Task cancellation APIs
isPartOf .NET Base Class Library NERFINISHED
isPublic true
isSealed true
isSecurityCriticalIn .NET Framework NERFINISHED
isSerializable true
isUncommonIn asynchronous programming with async/await
isUsedFor terminating a managed thread
namespace System.Threading NERFINISHED
platformSupport .NET Core (limited, Thread.Abort not supported on all platforms) NERFINISHED
.NET Framework on Windows
property ExceptionState NERFINISHED
reason raised when a call to Thread.Abort begins terminating the target thread
relatedTo OperationCanceledException NERFINISHED
ThreadInterruptedException NERFINISHED
rethrowBehavior automatically rethrown at end of catch block
threadContext thrown in the context of the thread being aborted
threadTerminationSemantics represents asynchronous, non-cooperative thread termination
thrownBy Thread.Abort NERFINISHED
Thread.Abort(Object) NERFINISHED
usageRecommendation avoid using Thread.Abort and ThreadAbortException in new code

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.Threading containsType ThreadAbortException