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.
是否有可能进入 Client.Open 方法,所以我可以尝试将 unsecure 连接到服务,如果这不起作用,则连接安全?就像试探一样。
最后我找到了解决我的问题的方法。关键是构建一个 ChannelFactory 和一个 IRequestChannel。然后我可以从我的绑定和端点地址构建一个新工厂。通过这家工厂,我能够建立一个可以打开来探索我的服务的通道。