小编use*_*598的帖子

WCF:FaultContract(typeof(ExceptionDetail))问题

我已经[FaultContract(typeof(ExceptionDetail))]为我的操作合同设置了属性.当我尝试将服务添加到客户端应用程序时,我收到此错误 - "Custom tool error: Failed to generate code for the service reference 'ServiceReference1'. Please check other error and warning messages for details."

但是当我注释掉FaultContract属性时,我能够在我的客户端应用程序中添加wcf服务引用.

wcf faultcontract

5
推荐指数
2
解决办法
6024
查看次数

标签 统计

faultcontract ×1

wcf ×1