I have a web service that I call from a winforms application. This web service can be cancelled, or completed,and then will call back the win forms application with a response (i.e.
Expand|Select|Wrap|Line Numbers
- e.Complete == true
This functionality is provided in the VS2005 tools for writing the web service (WCF) so the method called is <MethodName>Async(); which fires off <methodName>Completed event when it is done.
What I was wondering is if anyone knows how to programmatically return this with either the cancelled flag or another flag (error for example) if the Web service bombs out in an Exception? This would allow the client to know that it is cancelled, but as they did not hit cancel it must have been a server error, and then allows it to kick off another web service to clean up files on the server.