12 references to WebException
System (8)
net\System\Net\_CommandStream.cs (1)
161
return new
WebException
(
net\System\Net\_ConnectStream.cs (1)
2675
exceptionOnWrite = new
WebException
(
net\System\Net\filewebresponse.cs (1)
62
Exception ex = new
WebException
(e.Message, e, WebExceptionStatus.ConnectFailure, null);
net\System\Net\FtpWebRequest.cs (1)
1294
m_Exception = new
WebException
(exception.Message, null, ((WebException)exception).Status, m_FtpWebResponse);
net\System\Net\HttpWebRequest.cs (3)
3156
webException = new
WebException
(NetRes.GetWebStatusString("net_requestaborted", WebExceptionStatus.RequestCanceled), exception, WebExceptionStatus.RequestCanceled, _HttpResponse);
3894
E = new
WebException
(NetRes.GetWebStatusString("net_requestaborted", WebExceptionStatus.RequestCanceled), unexpectedException, WebExceptionStatus.RequestCanceled, _HttpResponse);
5623
e = new
WebException
(message, innerException, WebExceptionStatus.ProtocolError, _HttpResponse);
net\System\Net\WebException.cs (1)
84
this
(message, null, status, null) {
System.Web.Services (4)
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (1)
255
throw new WebException(Res.GetString(Res.ThereWasAnErrorDownloading0, url), new
WebException
(errorMessage, null, WebExceptionStatus.ProtocolError, response));
System\Web\Services\Protocols\HttpClientProtocol.cs (1)
331
throw new
WebException
(RequestResponseUtils.CreateResponseExceptionString(httpResponse, responseStream), null,
System\Web\Services\Protocols\SoapClientProtocol.cs (2)
598
throw new
WebException
(RequestResponseUtils.CreateResponseExceptionString(httpResponse, responseStream), null,
620
throw new
WebException
(RequestResponseUtils.CreateResponseExceptionString(httpResponse, responseStream), null,