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

ErrorEventArgs.cs « System.IO « System « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 49bc2c0867744ec13810c36e31fba522d90172c7 (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
// 
// System.IO.ErrorEventArgs.cs
//
// Author:
//   Tim Coleman (tim@timcoleman.com)
//
// Copyright (C) Tim Coleman, 2002
//

using System;

namespace System.IO {
	public class ErrorEventArgs : EventArgs {

		#region Fields

		Exception exception;

		#endregion // Fields

		#region Constructors

		public ErrorEventArgs (Exception exception) 
		{
			this.exception = exception;
		}
		
		#endregion // Constructors

		#region Methods

		public virtual Exception GetException ()
		{
			return exception;
		}

		#endregion // Methods
	}
}