简体   繁体   English

svcutil.exe客户端代理和故障协定

[英]svcutil.exe client proxy and fault contract

Is it possible to have fault contract information included in my svcutil.exe generated client c# proxy code? svcutil.exe生成的客户端c#代理代码中是否可能包含故障合同信息?
I mean, if a web service method is marked with FaultContractAttribute , I want it's type argument to be mentioned in comments to client proxy's method, so that when I use it, i could see what exceptions have to be catched. 我的意思是,如果Web服务方法标记有FaultContractAttribute ,我希望在客户端代理方法的注释中提及它的类型参数,以便在使用它时,我可以看到必须捕获哪些异常。
Thank you. 谢谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM