summaryrefslogtreecommitdiff
path: root/src/mscorlib/shared/System/UnhandledExceptionEventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/shared/System/UnhandledExceptionEventArgs.cs')
-rw-r--r--src/mscorlib/shared/System/UnhandledExceptionEventArgs.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/mscorlib/shared/System/UnhandledExceptionEventArgs.cs b/src/mscorlib/shared/System/UnhandledExceptionEventArgs.cs
new file mode 100644
index 0000000000..d33830181c
--- /dev/null
+++ b/src/mscorlib/shared/System/UnhandledExceptionEventArgs.cs
@@ -0,0 +1,29 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+namespace System
+{
+ [Serializable]
+ public class UnhandledExceptionEventArgs : EventArgs
+ {
+ private Object _exception;
+ private bool _isTerminating;
+
+ public UnhandledExceptionEventArgs(Object exception, bool isTerminating)
+ {
+ _exception = exception;
+ _isTerminating = isTerminating;
+ }
+
+ public Object ExceptionObject
+ {
+ get { return _exception; }
+ }
+
+ public bool IsTerminating
+ {
+ get { return _isTerminating; }
+ }
+ }
+}