ThreadAbortException.ExceptionState Property

 

Gets an object that contains application-specific information related to the thread abort.

Namespace:   System.Threading
Assembly:  mscorlib (in mscorlib.dll)

member ExceptionState : Object with get

Property Value

Type: System.Object

An object containing application-specific information.

The object returned by this property is specified through the stateInfo parameter of the Abort method. The exact content and usage of this object is application defined; it is typically used to convey information that is meaningful to the thread being aborted.

The following code example shows how to pass information to a thread that is being aborted.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: