System.Net.WebException: The operation has timed out

前端 未结 6 682
一个人的身影
一个人的身影 2021-02-01 04:13

I have a big problem: I need to send 200 objects at once and avoid timeouts.

while (true)
{

    NameValueCollection data = new NameValueCollection();
    data.A         


        
6条回答
  •  自闭症患者
    2021-02-01 04:46

    It means what it says. The operation took too long to complete.

    BTW, look at WebRequest.Timeout and you'll see that you've set your timeout for 1/5 second.

提交回复
热议问题