ThreadAbortException.cs 469 B

12345678910111213141516171819202122232425
  1. //
  2. // System.Threading.ThreadAbortException.cs
  3. //
  4. // Author:
  5. // Dick Porter ([email protected])
  6. //
  7. // (C) Ximian, Inc. http://www.ximian.com
  8. //
  9. using System.Runtime.CompilerServices;
  10. namespace System.Threading
  11. {
  12. [Serializable]
  13. public sealed class ThreadAbortException : SystemException
  14. {
  15. private ThreadAbortException () : base ("Thread was being aborted") {}
  16. public object ExceptionState {
  17. get {
  18. return Thread.CurrentThread.abort_state;
  19. }
  20. }
  21. }
  22. }