Home Dashboard Directory Help
Search

ExecuteXmlReaderAsync doesn't work as expected by Sergiy Bidnyi


Status: 

Active


3
0
Sign in
to vote
Type: Bug
ID: 777166
Opened: 1/22/2013 8:54:58 AM
Access Restriction: Public
0
Workaround(s)
view
2
User(s) can reproduce this bug

Description

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
Details
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)
Sign in to post a workaround.