40 references to ExceptionWithStackTrace
System.Data (40)
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (1)
274
retry.TrySetException(ADP.
ExceptionWithStackTrace
(ADP.NonPooledOpenTimeout()));
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (1)
1151
next.Completion.TrySetException(ADP.
ExceptionWithStackTrace
(ADP.PooledOpenTimeout()));
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
1414
result.SetException(ADP.
ExceptionWithStackTrace
(SQL.NotAvailableOnContextConnection()));
1500
_result.SetException(ADP.
ExceptionWithStackTrace
(ADP.InternalError(ADP.InternalErrorCode.CompletedConnectReturnedPending)));
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (19)
3940
source.SetException(ADP.
ExceptionWithStackTrace
(ADP.DataReaderClosed("NextResultAsync")));
3955
source.SetException(ADP.
ExceptionWithStackTrace
(SQL.PendingBeginXXXExists()));
4001
source.SetException(ADP.
ExceptionWithStackTrace
(ADP.DataReaderClosed("GetBytesAsync")));
4007
source.SetException(ADP.
ExceptionWithStackTrace
(ADP.AsyncOperationPending()));
4023
source.SetException(ADP.
ExceptionWithStackTrace
(ADP.AsyncOperationPending()));
4058
return ADP.CreatedTaskWithException<int>(ADP.
ExceptionWithStackTrace
(ADP.IO(SQLMessage.Timeout())));
4115
source.SetException(ADP.
ExceptionWithStackTrace
(ADP.AsyncOperationPending()));
4145
return ADP.CreatedTaskWithException<int>(ADP.
ExceptionWithStackTrace
(ADP.IO(SQLMessage.Timeout())));
4191
return ADP.CreatedTaskWithException<bool>(ADP.
ExceptionWithStackTrace
(ADP.DataReaderClosed("ReadAsync")));
4201
return ADP.CreatedTaskWithException<bool>(ADP.
ExceptionWithStackTrace
(SQL.PendingBeginXXXExists()));
4266
source.SetException(ADP.
ExceptionWithStackTrace
(SQL.PendingBeginXXXExists()));
4344
return ADP.CreatedTaskWithException<bool>(ADP.
ExceptionWithStackTrace
(ADP.DataReaderClosed("IsDBNullAsync")));
4350
return ADP.CreatedTaskWithException<bool>(ADP.
ExceptionWithStackTrace
(ADP.AsyncOperationPending()));
4386
source.SetException(ADP.
ExceptionWithStackTrace
(ADP.AsyncOperationPending()));
4440
return ADP.CreatedTaskWithException<T>(ADP.
ExceptionWithStackTrace
(ADP.DataReaderClosed("GetFieldValueAsync")));
4452
return ADP.CreatedTaskWithException<T>(ADP.
ExceptionWithStackTrace
(ADP.AsyncOperationPending()));
4487
source.SetException(ADP.
ExceptionWithStackTrace
(ADP.AsyncOperationPending()));
4571
source.TrySetException(ADP.
ExceptionWithStackTrace
(ADP.ClosedConnectionError()));
4614
source.SetException(ADP.
ExceptionWithStackTrace
(ADP.ClosedConnectionError()));
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (4)
141
return ADP.CreatedTaskWithException<T>(ADP.
ExceptionWithStackTrace
(SQL.NotAvailableOnContextConnection()));
201
return ADP.CreatedTaskWithException<bool>(ADP.
ExceptionWithStackTrace
(SQL.NotAvailableOnContextConnection()));
362
return ADP.CreatedTaskWithException<bool>(ADP.
ExceptionWithStackTrace
(SQL.NotAvailableOnContextConnection()));
414
return ADP.CreatedTaskWithException<bool>(ADP.
ExceptionWithStackTrace
(SQL.NotAvailableOnContextConnection()));
fx\src\data\System\Data\SqlClient\SqlSequentialStream.cs (5)
160
completion.SetException(ADP.
ExceptionWithStackTrace
(ADP.ObjectDisposed(this)));
169
completion.SetException(ADP.
ExceptionWithStackTrace
(ADP.AsyncOperationPending()));
203
completion.SetException(ADP.
ExceptionWithStackTrace
(ADP.ObjectDisposed(this)));
230
completion.SetException(ADP.
ExceptionWithStackTrace
(ADP.ErrorReadingFromStream(t.Exception.InnerException)));
239
completion.SetException(ADP.
ExceptionWithStackTrace
(ADP.ObjectDisposed(this)));
fx\src\data\System\Data\SqlClient\SqlSequentialTextReader.cs (5)
134
completion.SetException(ADP.
ExceptionWithStackTrace
(ADP.ObjectDisposed(this)));
143
completion.SetException(ADP.
ExceptionWithStackTrace
(ADP.AsyncOperationPending()));
208
completion.SetException(ADP.
ExceptionWithStackTrace
(ADP.ObjectDisposed(this)));
215
completion.SetException(ADP.
ExceptionWithStackTrace
(ADP.ErrorReadingFromStream(t.Exception.InnerException)));
239
completion.SetException(ADP.
ExceptionWithStackTrace
(ADP.ObjectDisposed(this)));
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
1288
taskSource.TrySetException(ADP.
ExceptionWithStackTrace
(exception));
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (2)
2019
taskSource.TrySetException(ADP.
ExceptionWithStackTrace
(ADP.ClosedConnectionError()));
2024
taskSource.TrySetException(ADP.
ExceptionWithStackTrace
(ADP.ClosedConnectionError()));