12 references to WebException
dotnet-svcutil-lib (1)
Metadata\MetadaExchangeResolver.cs (1)
293
throw new
WebException
(errorMsg, null, WebExceptionStatus.ProtocolError, webResponse);
System.Net.HttpListener (1)
System\Net\Managed\ChunkStream.cs (1)
392
WebException we = new
WebException
(message, null, WebExceptionStatus.ServerProtocolViolation, null);
System.Net.Requests (10)
System\Net\CommandStream.cs (2)
135
return new
WebException
(
144
return new
WebException
(SR.Format(SR.net_ftp_servererror, NetRes.GetWebStatusCodeString(code, statusDescription)),
System\Net\FileWebResponse.cs (1)
45
throw new
WebException
(e.Message, e, WebExceptionStatus.ConnectFailure, null);
System\Net\FtpWebRequest.cs (2)
1107
_exception = new
WebException
(exception.Message, null, ((WebException)exception).Status, _ftpWebResponse);
1116
_exception = new
WebException
(SR.Format(SR.net_ftp_servererror, connection.StatusLine), exception, WebExceptionStatus.ProtocolError, _ftpWebResponse);
System\Net\HttpWebRequest.cs (1)
1261
throw new
WebException
(
System\Net\WebException.cs (4)
32
this
(message, innerException, DefaultStatus, null)
37
this
(message, null, status, null)
85
return new
WebException
(
93
return new
WebException
(