2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
[mono.git] / mcs / class / System.Data / System.Data / FillErrorEventArgs.cs
1 //
2 // System.Data.FillErrorEventArgs.cs
3 //
4 // Author:
5 //   Miguel de Icaza <miguel@ximian.com>
6 //
7 // (C) Ximian, Inc 2002
8 //
9
10 using System;
11
12 namespace System.Data
13 {
14         public class FillErrorEventArgs : EventArgs {
15                 DataTable data_table;
16                 object [] values;
17                 Exception errors;
18                 bool f_continue;
19
20                 public FillErrorEventArgs (DataTable dataTable, object [] values)
21                 {
22                         this.data_table = dataTable;
23                         this.values = values;
24                 }
25
26                 public bool Continue {
27                         get {
28                                 return f_continue;
29                         }
30
31                         set {
32                                 f_continue = value;
33                         }
34                 }
35
36                 public DataTable DataTable {
37                         get {
38                                 return data_table;
39                         }
40                 }
41
42                 public Exception Errors {
43                         get {
44                                 return errors;
45                         }
46
47                         set {
48                                 errors = value;
49                         }
50                 }
51
52                 public object [] Values {
53                         get {
54                                 return values;
55                         }
56                 }
57         }
58 }