From d95ae2de454adf83bae5e786c5dedffb3a87409b Mon Sep 17 00:00:00 2001 From: Shay Rojansky Date: Sat, 20 Apr 2019 22:11:58 +0200 Subject: [PATCH] Remove SqlClient-specific info from DbDataReader On exceptions thrown from DbDataReader.Get{Stream,TextReader}(). --- xml/System.Data.Common/DbDataReader.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/System.Data.Common/DbDataReader.xml b/xml/System.Data.Common/DbDataReader.xml index 5eac7701ef2..93378f30512 100644 --- a/xml/System.Data.Common/DbDataReader.xml +++ b/xml/System.Data.Common/DbDataReader.xml @@ -1759,7 +1759,7 @@ private static void GetCredits(String connectionString) { There was an asynchronous operation in progress. This applies to all Get* methods when running in sequential mode, as they could be called while reading a stream. Trying to read a column that does not exist. - The returned type was not one of the following types: binary, image, varbinary, or udt. + The specified column isn't a binary type that supports reading with a . @@ -1869,7 +1869,7 @@ private static void GetCredits(String connectionString) { There was an asynchronous operation in progress. This applies to all Get* methods when running in sequential mode, as they could be called while reading a stream. Trying to read a column that does not exist. - The returned type was not one of the following types: char, nchar, ntext, nvarchar, text, or varchar. + The specified column isn't a text type that supports reading with a .