WCF <operation>Async methods not generated in proxy interface
- by Charlie
I want to use the Asnyc methods rather than the Begin on my WCF service client proxy because I'm updating WPF controls and need to make sure they're being updated from the UI thread. I could use the Dispatcher class to queue items for the UI thread but that's not what I'm asking about..
I've configured the service reference to generate the asynchronous operations, but it only generates the methods in proxy's implementation, not it's interface. The interface only contains syncronous and Begin methods.
Why aren't these methods generated in the interface and is there a way to do this, or do I have to create a derived interface to manually add them?