11 references to WebException
PresentationCore (5)
System\IO\Packaging\PackWebRequest.cs (3)
134
throw new
WebException
(SR.ResourceNotFoundUnderCacheOnlyPolicy);
144
throw new
WebException
(SR.PackWebRequestCachePolicyIllegal);
210
throw new
WebException
(SR.PackWebRequestCachePolicyIllegal);
System\IO\Packaging\PackWebResponse.cs (2)
236
throw new
WebException
(SR.WebResponsePartNotFound);
856
throw new
WebException
(SR.WebResponseFailure);
System.Net.Requests (4)
System\Net\CommandStream.cs (1)
317
exception = new
WebException
(_abortReason);
System\Net\ExceptionHelper.cs (2)
10
internal static WebException RequestAbortedException => new
WebException
(SR.net_reqaborted);
12
internal static WebException TimeoutException => new
WebException
(SR.net_timeout);
System\Net\FtpControlStream.cs (1)
568
throw new
WebException
(SR.net_ftp_invalid_uri);
System.Net.WebClient (2)
System\Net\WebClient.cs (2)
489
throw new
WebException
(SR.net_webclient_Multipart);
597
throw new
WebException
(SR.net_webclient_ContentType);