19 references to Errors
System.Data (19)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (6)
2243
for (int i = 0; i < sqlEx.
Errors
.Count; i++) {
2244
if ( (usedCache && (sqlEx.
Errors
[i].Number == TdsEnums.TCE_CONVERSION_ERROR_CLIENT_RETRY) ) ||
2245
(ShouldUseEnclaveBasedWorkflow && (sqlEx.
Errors
[i].Number == TdsEnums.TCE_ENCLAVE_INVALID_SESSION_HANDLE) ) ){
4198
for (int i = 0; i < ex.
Errors
.Count; i++) {
4200
if ( (usedCache && (ex.
Errors
[i].Number == TdsEnums.TCE_CONVERSION_ERROR_CLIENT_RETRY) ) ||
4201
(ShouldUseEnclaveBasedWorkflow && (ex.
Errors
[i].Number == TdsEnums.TCE_ENCLAVE_INVALID_SESSION_HANDLE) ) ) {
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1730
Debug.Assert(exception != null && exception.
Errors
.Count != 0, "SqlConnection: OnError called with null or empty exception!");
fx\src\data\System\Data\SqlClient\SqlException.cs (7)
81
get { return this.
Errors
[0].Class;}
85
get { return this.
Errors
[0].LineNumber;}
89
get { return this.
Errors
[0].Number;}
93
get { return this.
Errors
[0].Procedure;}
97
get { return this.
Errors
[0].Server;}
101
get { return this.
Errors
[0].State;}
105
get { return this.
Errors
[0].Source;}
fx\src\data\System\Data\SqlClient\SqlInfoMessageEvent.cs (2)
20
get { return exception.
Errors
;}
24
return (null != exception) && (0 < exception.
Errors
.Count);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
511
foreach (SqlError error in exc.
Errors
)
fx\src\data\System\Data\SqlClient\SqlUtil.cs (2)
1296
SqlErrorCollection errorList = exThrown.
Errors
;
1297
for (int i =0; i < exThrown.
Errors
.Count; i++) {