mscorlib(4.0.0.0) API with additions
ThreadAbortException.cs
1
using
System
.
Runtime
.
InteropServices
;
2
using
System
.
Runtime
.
Serialization
;
3
using
System
.
Security
;
4
5
namespace
System.Threading
6
{
8
[
Serializable
]
9
[ComVisible(
true
)]
10
public
sealed
class
ThreadAbortException
:
SystemException
11
{
14
public
object
ExceptionState
15
{
16
[SecuritySafeCritical]
17
get
18
{
19
return
Thread
.
CurrentThread
.AbortReason;
20
}
21
}
22
23
private
ThreadAbortException
()
24
: base(
Exception
.GetMessageFromNativeResources(ExceptionMessageKind.ThreadAbort))
25
{
26
SetErrorCode(-2146233040);
27
}
28
29
internal
ThreadAbortException(
SerializationInfo
info,
StreamingContext
context)
30
: base(info, context)
31
{
32
}
33
}
34
}
System.Threading.Thread.CurrentThread
static Thread CurrentThread
Gets the currently running thread.
Definition:
Thread.cs:134
System.Security
Definition:
AllowPartiallyTrustedCallersAttribute.cs:3
System.SystemException
Serves as the base class for system exceptions namespace.
Definition:
SystemException.cs:9
System.Runtime.InteropServices
Definition:
_Activator.cs:1
System.Runtime
Definition:
AssemblyTargetedPatchBandAttribute.cs:1
System
Definition:
__Canon.cs:3
System.Runtime.Serialization.StreamingContext
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Definition:
StreamingContext.cs:9
System.Runtime.Serialization
Definition:
DeserializationEventHandler.cs:1
System.Threading.ThreadAbortException.ExceptionState
object ExceptionState
Gets an object that contains application-specific information related to the thread abort.
Definition:
ThreadAbortException.cs:15
System.Runtime.Serialization.SerializationInfo
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
Definition:
SerializationInfo.cs:12
System.Exception
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
Definition:
Exception.cs:22
System.Reflection.TypeAttributes.Serializable
Specifies that the class can be serialized.
System.Threading.ThreadAbortException
The exception that is thrown when a call is made to the M:System.Threading.Thread....
Definition:
ThreadAbortException.cs:10
System.Threading
Definition:
_IOCompletionCallback.cs:3
System.Threading.Thread
Creates and controls a thread, sets its priority, and gets its status.
Definition:
Thread.cs:18
All cs
System.Threading
ThreadAbortException.cs
Generated by
1.8.15