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