WCF Service - Async How to?

I am consuming a 'third party' WCF service. I am making to call to their method in Async mode from C# console application.

The order I am making call is 1. WCF.MethodA (Async) 2. WCF.MethodB (Async) 3. WCF.MethodC (Async)

I wanted to raise an event (which makes call to 'MethodB') after call to 'MethodA' is successfully complete. Can anyone tell me how to do that? Is that something the service needs to support (raising events)?



If you turn on the asynchronous option when you add the service reference, you'll get asynchronous calls with events.

For example, you should get WCF.MethodAAsync with a WCF.MethodACompleted event automatically. You can subscribe to the completion events, and start the next method upon completion.

Need Your Help

Custom Swing-Panels showing up just a little moment

java swing

In my class BlindSettings which extends JFrame I have a code-fragment that adds BlindPanels dynamically (BlindPanels are a sort of custom JPanel). The problem is, when I call the BlindSettings dire...

FB Request Dialog - Image not showing

facebook facebook-graph-api plugins

I'm trying to load the image on the FB request dialog, it is not showing if i use the image property. Is there any other way? I can't load the image marked in red.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.