Welcome to mirror list, hosted at ThFree Co, Russian Federation.

UnhandledExceptionEventArgs.cs « System « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 81e318eeec43dd5be9e888a8e7c2c9a5dd5cadb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// System.UnhandledExceptionEventArgs.cs 
//
// Author:
//   Chris Hynes (chrish@assistedsolutions.com)
//
// (C) 2001 Chris Hynes
//

using System;
using System.Reflection;

namespace System 
{
	[Serializable]
	public class UnhandledExceptionEventArgs: EventArgs
	{
		private object exception;
		private bool m_isTerminating;

		public UnhandledExceptionEventArgs(object exception, bool isTerminating)
		{
			this.exception = exception;
			this.m_isTerminating = isTerminating;
		}

		public object ExceptionObject
		{
			get 
			{
				return exception;
			}
		}

		public bool IsTerminating
		{
			get
			{
				return m_isTerminating;
			}
		}
	}
}