How to make WSDL.exe NOT generate the XxxAsync methods (I still want Begin/EndXxx)

泄露秘密 提交于 2019-12-12 12:24:44

问题


Does anyone know how to do this?


回答1:


See : http://msdn.microsoft.com/en-us/library/7h3ystb6%28VS.80%29.aspx

Play around with the parameters : "newAsync" and "oldAsync" to switch off Async methods.

Hope this helps.

Cheers!



来源:https://stackoverflow.com/questions/762056/how-to-make-wsdl-exe-not-generate-the-xxxasync-methods-i-still-want-begin-endxx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!