24 references to FATAL_ERROR_CLASS
System.Data (24)
fx\src\data\Microsoft\SqlServer\Server\SmiEventSink_Default.cs (1)
97
if (error.Class >= TdsEnums.
FATAL_ERROR_CLASS
){
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\SqlInternalConnection.cs (1)
473
if (e.Class >= TdsEnums.
FATAL_ERROR_CLASS
) {
fx\src\data\System\Data\SqlClient\SqlUtil.cs (11)
1460
errors.Add(new SqlError(0, (byte)0x00, TdsEnums.
FATAL_ERROR_CLASS
, null, msg, "", 0));
1495
errors.Add(new SqlError(0, (byte)0x00, TdsEnums.
FATAL_ERROR_CLASS
, null, (Res.GetString(Res.SQLROR_FailoverNotSupported)), "", 0));
1503
errors.Add(new SqlError(0, (byte)0x00, TdsEnums.
FATAL_ERROR_CLASS
, null, (Res.GetString(Res.SQLROR_RecursiveRoutingNotSupported)), "", 0));
1511
errors.Add(new SqlError(0, (byte)0x00, TdsEnums.
FATAL_ERROR_CLASS
, null, (Res.GetString(Res.SQLROR_UnexpectedRoutingInfo)), "", 0));
1519
errors.Add(new SqlError(0, (byte)0x00, TdsEnums.
FATAL_ERROR_CLASS
, null, (Res.GetString(Res.SQLROR_InvalidRoutingInfo)), "", 0));
1527
errors.Add(new SqlError(0, (byte)0x00, TdsEnums.
FATAL_ERROR_CLASS
, null, (Res.GetString(Res.SQLROR_TimeoutAfterRoutingInfo)), "", 0));
1559
errors.Add(new SqlError(0, 0, TdsEnums.
FATAL_ERROR_CLASS
, null, Res.GetString(Res.SQLCR_EncryptionChanged), "", 0));
1573
errors.Add(new SqlError(0, 0, TdsEnums.
FATAL_ERROR_CLASS
, null, Res.GetString(Res.SQLCR_NoCRAckAtReconnection), "", 0));
1580
errors.Add(new SqlError(0, 0, TdsEnums.
FATAL_ERROR_CLASS
, null, Res.GetString(Res.SQLCR_TDSVestionNotPreserved), "", 0));
1587
errors.Add(new SqlError(0, 0, TdsEnums.
FATAL_ERROR_CLASS
, null, Res.GetString(Res.SQLCR_UnrecoverableServer), "", 0));
1594
errors.Add(new SqlError(0, 0, TdsEnums.
FATAL_ERROR_CLASS
, null, Res.GetString(Res.SQLCR_UnrecoverableClient), "", 0));
fx\src\data\System\Data\SqlClient\TdsParser.cs (8)
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));
1428
return new SqlError((int)sniError.nativeError, 0x00, TdsEnums.
FATAL_ERROR_CLASS
,
1925
else if (error.Class < TdsEnums.
FATAL_ERROR_CLASS
) {
1954
else if (error.Class >= TdsEnums.
FATAL_ERROR_CLASS
) {
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));
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (1)
3396
broken |= (error.Class >= TdsEnums.
FATAL_ERROR_CLASS
);