13 references to WebException
System.Net.Requests (3)
System\Net\FileWebRequest.cs (2)
152
catch (Exception e) { throw new
WebException
(e.Message, e); }
212
throw new
WebException
(e.Message, e);
System\Net\FtpWebRequest.cs (1)
1117
_exception = new
WebException
(exception.Message, exception);
System.Net.WebClient (10)
System\Net\WebClient.cs (10)
312
throw new
WebException
(SR.net_webclient, e);
342
throw new
WebException
(SR.net_webclient, e);
377
throw new
WebException
(SR.net_webclient, e);
415
throw new
WebException
(SR.net_webclient, e);
467
throw new
WebException
(SR.net_webclient, e);
582
throw new
WebException
(SR.net_webclient, e);
647
throw new
WebException
(SR.net_webclient, e);
863
throw new
WebException
(SR.net_webclient, e);
1000
throw new
WebException
(SR.net_webclient, e);
1527
e is WebException || e is SecurityException ? e : new
WebException
(SR.net_webclient, e);