2002-08-21 Dietmar Maurer <dietmar@ximian.com>
[mono.git] / mcs / class / corlib / System / UnhandledExceptionEventArgs.cs
1 //
2 // System.UnhandledExceptionEventArgs.cs 
3 //
4 // Author:
5 //   Chris Hynes (chrish@assistedsolutions.com)
6 //
7 // (C) 2001 Chris Hynes
8 //
9
10 using System;
11 using System.Reflection;
12
13 namespace System 
14 {
15         [Serializable]
16         public class UnhandledExceptionEventArgs: EventArgs
17         {
18                 private object exception;
19                 private bool m_isTerminating;
20
21                 public UnhandledExceptionEventArgs(object exception, bool isTerminating)
22                 {
23                         this.exception = exception;
24                         this.m_isTerminating = isTerminating;
25                 }
26
27                 public object ExceptionObject
28                 {
29                         get 
30                         {
31                                 return exception;
32                         }
33                 }
34
35                 public bool IsTerminating
36                 {
37                         get
38                         {
39                                 return m_isTerminating;
40                         }
41                 }
42         }
43 }