ExecuteXmlReaderAsync doesn't work as expected - by Sergiy Bidnyi

Status : 


Sign in
to vote
ID 777166 Comments
Status Active Workarounds
Type Bug Repros 3
Opened 1/22/2013 8:54:58 AM
Access Restriction Public


this code doesn't work 
var xmlReader = await sqlCommand.ExecuteXmlReaderAsync();

while (await xmlReader.ReadAsync())
    var doc = (MyDocument)xmlSerializer.Deserialize(xmlReader);
    await Process(doc);

as ExecuteXmlReaderAsync doesn't set xmlReader.Settings.Async to true
Sign in to post a comment.
Posted by Microsoft on 1/22/2013 at 10:45 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 1/22/2013 at 9:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)