In my Silverlight class, I have to make a number of async method calls to a webservice. The silverlight class simply calls a number of these method calls, but I want them to actually be issued sequentially and synchronously. I can achieve this by chaining async calls in completion handlers in the silverlight class, but I want something more generic.
So, how can I implement a queueing class that queues async method calls so that they occur in the order that they are queued, and only one async call is active at any point in time? Assume that all method calls are for a single webservice, but that each class has a unique signature.