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