Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
只是检查为什么即使我将其设置为 10 分钟,在 sendTimeOut 中配置的也是 5 分钟,测试客户端是否遵循 wcf 上的正确配置?
谢谢。
您的意思是您在服务端的客户端端点中设置了 sendTimeOut 吗?sendTimeOut 有两种,服务端和客户端。Client.dll.config 中的 sendTimeout 是 WCF Test Client 中客户端的测试配置,但与服务端或客户端配置无关。它是磁盘中的配置文件,您可以在测试客户端中右键单击配置文件,然后复制完整路径以找到真实文件。如果要在 WCF 测试客户端中设置它,可以右键单击 WCF 测试客户端中的配置文件,绑定->检查特殊绑定的发送超时。