19 references to SqlError
System.Data (19)
fx\src\data\Microsoft\SqlServer\Server\SmiEventSink_Default.cs (1)
237
SqlError error = new
SqlError
( number, state, errorClass, server, message, procedure, lineNumber );
fx\src\data\System\Data\SqlClient\LocalDBAPI.cs (2)
235
collection.Add(new
SqlError
(errorCode, 0, TdsEnums.FATAL_ERROR_CLASS, instance, errorMessage, null, 0));
238
collection.Add(new
SqlError
(errorCode, 0, TdsEnums.FATAL_ERROR_CLASS, instance, GetLocalDBMessage(localDbError), null, 0));
fx\src\data\System\Data\SqlClient\SqlError.cs (1)
33
:
this
(infoNumber, errorState, errorClass, server, errorMessage, procedure, lineNumber)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
2456
sqlErs.Add(new
SqlError
(0, (byte)0x00, (byte)TdsEnums.MIN_ERROR_CLASS, ConnectionOptions.DataSource, errorMessage1, ActiveDirectoryAuthentication.AdalGetAccessTokenFunctionName, 0));
fx\src\data\System\Data\SqlClient\SqlUtil.cs (4)
1292
sqlErs.Add (new
SqlError
(infoNumber:0, errorState:(byte)0x00, errorClass:(byte)TdsEnums.MIN_ERROR_CLASS, server:serverName, errorMessage:errorMessage, procedure:null, lineNumber:0));
1302
sqlErs.Add (new
SqlError
(infoNumber:0, errorState:(byte)0x00, errorClass:(byte)TdsEnums.MIN_ERROR_CLASS, server:serverName, errorMessage:e.Message, procedure:null, lineNumber:0));
1460
errors.Add(new
SqlError
(0, (byte)0x00, TdsEnums.FATAL_ERROR_CLASS, null, msg, "", 0));
1545
errors.Add(new
SqlError
(0, 0, TdsEnums.MIN_ERROR_CLASS, null, SQLMessage.OperationCancelled(), "", 0));
fx\src\data\System\Data\SqlClient\TdsParser.cs (10)
886
_physicalStateObj.AddError(new
SqlError
(0, (byte)0x00, TdsEnums.FATAL_ERROR_CLASS, _server, SQLMessage.PreloginError(), "", 0));
948
_physicalStateObj.AddError(new
SqlError
(TdsEnums.ENCRYPTION_NOT_SUPPORTED, (byte)0x00, TdsEnums.FATAL_ERROR_CLASS, _server, SQLMessage.EncryptionNotSupportedByServer(), "", 0));
969
_physicalStateObj.AddError(new
SqlError
(TdsEnums.ENCRYPTION_NOT_SUPPORTED, (byte)0x00, TdsEnums.FATAL_ERROR_CLASS, _server, SQLMessage.EncryptionNotSupportedByClient(), "", 0));
2345
stateObj.AddError(new
SqlError
(0, 0, TdsEnums.MIN_ERROR_CLASS, _server, SQLMessage.OperationCancelled(), "", 0));
2762
stateObj.AddError(new
SqlError
(0, 0, TdsEnums.MIN_ERROR_CLASS, _server, SQLMessage.SevereError(), "", 0));
2775
stateObj.AddError(new
SqlError
(0, 0, TdsEnums.FATAL_ERROR_CLASS, _server, SQLMessage.SevereError(), "", 0));
3119
stateObj.AddError(new
SqlError
(0, 0, TdsEnums.FATAL_ERROR_CLASS, Server, SQLMessage.UserInstanceFailure(), "", 0));
3340
error = new
SqlError
(number, state, errorClass, _server, message, procedure, line);
3853
stateObj.AddError(new
SqlError
(0, 0, TdsEnums.MIN_ERROR_CLASS, _server, SQLMessage.CultureIdError(), "", 0));
7580
_physicalStateObj.AddError(new
SqlError
(0, (byte)0x00, (byte)TdsEnums.MIN_ERROR_CLASS, _server, error, procedure, 0));