开发者

WCF client proxy class renaming problem

Perhaps others have encountered the same problem. It seems the default class name for a WCF client proxy is Service1Client. When I delete the service reference and recreate it the name keeps coming up the same. (Although it does give me the opportunity to name the namespace.)

When I chose Refactor/Rename on Service1Client (ie: the class name for the proxy), it fails with the following message:

The file 'Service References\myNameSpace\References.cs' could not be refactored. The current 开发者_JAVA技巧object is autogenerated by the Wcf Client Generator and cannot be renamed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜