blob: ea0f9b7d9451054b25cd22bfc9bd2d94058047f8 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
//------------------------------------------------------------------------------
// <copyright file="FillErrorEventArgs.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">[....]</owner>
// <owner current="true" primary="false">[....]</owner>
//------------------------------------------------------------------------------
namespace System.Data { // MDAC 59437
using System;
using System.Data;
public class FillErrorEventArgs : System.EventArgs {
private bool continueFlag;
private DataTable dataTable;
private Exception errors;
private object[] values;
public FillErrorEventArgs(DataTable dataTable, object[] values) {
this.dataTable = dataTable;
this.values = values;
if (null == this.values) {
this.values = new object[0];
}
}
public bool Continue {
get {
return this.continueFlag;
}
set {
this.continueFlag = value;
}
}
public DataTable DataTable {
get {
return this.dataTable;
}
}
public Exception Errors {
get {
return this.errors;
}
set {
this.errors = value;
}
}
public object[] Values {
get {
object[] copy = new object[values.Length];
for(int i = 0; i < values.Length; ++i) {
copy[i] = values[i]; // WebData 107464
}
return copy;
}
}
}
}
|