开发者

Error using webclient with gmail

This is the code:

response =
    Encoding.UTF8.GetString(
       objClient.DownloadData("https://mail.google.com/mail/feed开发者_Python百科/atom")
    );

And this is the error (exception) I get: WebClient does not support current i/o operation

what could be the reason for that exception?


I believe the error you're talking about is "WebClient does not support *con*current I/O operations".

This exception is caused when you try to make multiple requests at the same time from a single WebClient instance. If you want to make concurrent requests, create a new WebClient instance.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜