35 references to SQLMessage
System.Data (35)
fx\src\data\System\Data\SqlClient\SqlConnectionTimeoutErrorInternal.cs (17)
150
errorBuilder = new StringBuilder(
SQLMessage
.Timeout_PreLogin_Begin());
151
durationString =
SQLMessage
.Duration_PreLogin_Begin(
155
errorBuilder = new StringBuilder(
SQLMessage
.Timeout_PreLogin_InitializeConnection());
156
durationString =
SQLMessage
.Duration_PreLogin_Begin(
161
errorBuilder = new StringBuilder(
SQLMessage
.Timeout_PreLogin_SendHandshake());
162
durationString =
SQLMessage
.Duration_PreLoginHandshake(
168
errorBuilder = new StringBuilder(
SQLMessage
.Timeout_PreLogin_ConsumeHandshake());
169
durationString =
SQLMessage
.Duration_PreLoginHandshake(
176
errorBuilder = new StringBuilder(
SQLMessage
.Timeout_Login_Begin());
177
durationString =
SQLMessage
.Duration_Login_Begin(
185
errorBuilder = new StringBuilder(
SQLMessage
.Timeout_Login_ProcessConnectionAuth());
186
durationString =
SQLMessage
.Duration_Login_ProcessConnectionAuth(
195
errorBuilder = new StringBuilder(
SQLMessage
.Timeout_PostLogin());
196
durationString =
SQLMessage
.Duration_PostLogin(
206
errorBuilder = new StringBuilder(
SQLMessage
.Timeout());
219
errorBuilder.AppendFormat((IFormatProvider)null,
SQLMessage
.Timeout_FailoverInfo(), currentSourceType);
223
errorBuilder.AppendFormat((IFormatProvider)null,
SQLMessage
.Timeout_RoutingDestination(),
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (2)
4058
return ADP.CreatedTaskWithException<int>(ADP.ExceptionWithStackTrace(ADP.IO(
SQLMessage
.Timeout())));
4145
return ADP.CreatedTaskWithException<int>(ADP.ExceptionWithStackTrace(ADP.IO(
SQLMessage
.Timeout())));
fx\src\data\System\Data\SqlClient\SqlException.cs (4)
111
sb.AppendFormat(
SQLMessage
.ExClientConnectionId(), _clientConnectionId);
116
sb.AppendFormat(
SQLMessage
.ExErrorNumberStateClass(), Number, State, Class);
122
sb.AppendFormat(
SQLMessage
.ExOriginalClientConnectionId(), Data[OriginalClientConnectionIdKey]);
128
sb.AppendFormat(
SQLMessage
.ExRoutingDestination(), Data[RoutingDestinationKey]);
fx\src\data\System\Data\SqlClient\SqlUtil.cs (2)
1538
errors.Add(new SqlError(TdsEnums.TIMEOUT_EXPIRED, (byte)0x00, TdsEnums.MIN_ERROR_CLASS, null,
SQLMessage
.Timeout(), "", 0, TdsEnums.SNI_WAIT_TIMEOUT));
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));
3853
stateObj.AddError(new SqlError(0, 0, TdsEnums.MIN_ERROR_CLASS, _server,
SQLMessage
.CultureIdError(), "", 0));
7542
SSPIError(
SQLMessage
.SSPIGenerateError(), TdsEnums.GEN_CLIENT_CONTEXT);
7593
SSPIError(
SQLMessage
.SSPIInitializeError(), TdsEnums.INIT_SSPI_PACKAGE);