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