How to make WSDL.exe NOT generate the XxxAsync methods (I still want Begin/EndXxx)
问题 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