Search

HttpListenerResponse.CopyFrom example does not show how to use the method by KeeperOfTheSoul

Closed
as Fixed Help for as Fixed

1
0
Sign in
to vote
Type: Bug
ID: 630414
Opened: 12/10/2010 10:11:09 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
The example on the MSDN page http://msdn.microsoft.com/en-us/library/system.net.httplistenerresponse.copyfrom.aspx does not actually use CopyFrom.
Details (expand)

Visual Studio/Silverlight/Tooling version

.NET Framework 4

What category (if any) best represents this feedback?

 

Steps to reproduce

View the C# example on http://msdn.microsoft.com/en-us/library/system.net.httplistenerresponse.copyfrom.aspx

Product Language

English

Operating System

Windows 7

Operating System Language

English

Actual results

The example shows how to use a method to set up a HttpListenerResponse.

Expected results

The example should show the method using HttpListenerResponse.CopyFrom.
It should also show how the template response is supposed to be constructed as there is no default constructor (though I would assume you pass in the context the template will be used with?).
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 10/20/2011 at 5:08 PM
Thank you for your feedback. The sample will be corrected in the next release of the product.
Posted by Microsoft on 12/12/2010 at 6:24 PM
Thanks for your feedback. We are routing 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 12/10/2010 at 10:37 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.