更新时间:2023-09-14 08:57:28
代理设置是绑定配置的一部分.例如,查看 ProxyAddress 属性BasicHTTPBinding 和 WSHttpBinding 类/配置元素.
The proxy settings are part of the binding configuration. For example, look at the ProxyAddress property of the BasicHTTPBinding and WSHttpBinding classes/configuration elements.
看起来您将端点配置保留在 app.config 文件中,在这种情况下,您应该能够在那里设置地址.
Looks like you're leaving your endpoint configuration in the app.config file, in which case you should be able to set the address there.