2
0

UnhandledExceptionEventArgs.cs 744 B

12345678910111213141516171819202122232425262728
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the MIT license.
  3. // See the LICENSE file in the project root for more information.
  4. namespace System
  5. {
  6. public class UnhandledExceptionEventArgs : EventArgs
  7. {
  8. private object _exception;
  9. private bool _isTerminating;
  10. public UnhandledExceptionEventArgs(object exception, bool isTerminating)
  11. {
  12. _exception = exception;
  13. _isTerminating = isTerminating;
  14. }
  15. public object ExceptionObject
  16. {
  17. get { return _exception; }
  18. }
  19. public bool IsTerminating
  20. {
  21. get { return _isTerminating; }
  22. }
  23. }
  24. }