11 references to SocksException
System.Net.Http (11)
System\Net\Http\SocketsHttpHandler\SocksHelper.cs (11)
113
throw new
SocksException
(SR.net_socks_auth_required);
136
throw new
SocksException
(SR.net_socks_auth_failed);
142
throw new
SocksException
(SR.net_socks_no_auth_method);
195
throw new
SocksException
(SR.Format(SR.net_socks_connection_failed, buffer[1].ToString("X2")));
202
_ => throw new
SocksException
(SR.net_socks_bad_address_type)
242
throw new
SocksException
(SR.net_socks_ipv6_notsupported);
262
throw new
SocksException
(SR.net_socks_no_ipv4_address);
308
throw new
SocksException
(SR.net_socks_auth_failed);
310
throw new
SocksException
(SR.Format(SR.net_socks_connection_failed, buffer[1].ToString("X2")));
329
throw new
SocksException
(SR.Format(SR.net_socks_string_too_long, parameterName));
337
throw new
SocksException
(SR.Format(SR.net_socks_unexpected_version, expected, version));