1 //------------------------------------------------------------------------------
2 // <copyright file="FillErrorEventArgs.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 // <owner current="true" primary="true">Microsoft</owner>
6 // <owner current="true" primary="false">Microsoft</owner>
7 //------------------------------------------------------------------------------
9 namespace System.Data { // MDAC 59437
14 public class FillErrorEventArgs : System.EventArgs {
15 private bool continueFlag;
16 private DataTable dataTable;
17 private Exception errors;
18 private object[] values;
20 public FillErrorEventArgs(DataTable dataTable, object[] values) {
21 this.dataTable = dataTable;
23 if (null == this.values) {
24 this.values = new object[0];
28 public bool Continue {
30 return this.continueFlag;
33 this.continueFlag = value;
37 public DataTable DataTable {
39 return this.dataTable;
43 public Exception Errors {
52 public object[] Values {
54 object[] copy = new object[values.Length];
55 for(int i = 0; i < values.Length; ++i) {
56 copy[i] = values[i]; // WebData 107464