11 references to IsConnectionDoomed
System.Data (11)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (2)
887
if ( obj.
IsConnectionDoomed
)
960
if ( obj.IsTransactionRoot && !obj.
IsConnectionDoomed
)
fx\src\data\System\Data\SqlClient\SqlConnectionFactory.cs (1)
239
if (null == result || result.
IsConnectionDoomed
) {
fx\src\data\System\Data\SqlClient\SqlDelegatedTransaction.cs (1)
334
if (connection.
IsConnectionDoomed
) {
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (5)
853
Debug.Assert(null != _parser ||
IsConnectionDoomed
, "Deactivating a disposed connection?");
856
_parser.Deactivate(
IsConnectionDoomed
);
858
if (!
IsConnectionDoomed
) {
936
if (
IsConnectionDoomed
) { // doomed means we can't do anything else...
1867
if (!ADP.IsAzureSqlServerEndpoint(connectionOptions.DataSource) &&
IsConnectionDoomed
) {
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (2)
2043
Debug.Assert(_parser.Connection.
IsConnectionDoomed
, "Timeout occurred while the connection is in the pool");
2545
Debug.Assert(_parser.State == TdsParserState.Broken || _parser.State == TdsParserState.Closed || _parser.Connection.
IsConnectionDoomed
, "Failed to capture exception while the connection was still healthy");