从客户端代码进入并单步执行 WCF 服务的代码时,您可能会收到一条与缺少符号有关的错误消息。
When you step into the code for a WCF service from client code, you may receive an error related to missing symbols.
因为提供程序是在进程中创建的,可以用ole db使用者模板创建一些使用者代码,并按正常方式进入并单步执行提供程序。
Because providers are created in process, you can create some consumer code using the OLE DB consumer templates and step into the provider normally.
这样可以确保客户端能够始终访问最新的服务二进制文件,这对于调试方案(如从客户端代码进入并单步执行服务代码)尤其重要。
This guarantees that that the client always accesses up-to-date service binaries, which is especially important for debugging scenarios such as stepping from client code into service code.
应用推荐