RE: WebResponse multithreading



Hello Ruslan,

I think you may consider call HttpWebRequest Asynchronously, for example,
use HttpWebRequest.BeginGetResponse() to initiate an asynchronous request,
and use ThreadPool.RegisterWaitForSingleObject() to register a timeout
delegate for unresponsive Web requests:

http://msdn2.microsoft.com/en-us/library/system.net.httpwebrequest.begingetr
esponse.aspx

Can this help on the issue?

Sincerely,

Luke Zhang

Microsoft Online Community Support
This posting is provided "AS IS" with no warranties, and confers no rights.



.


Loading