I\'m attempting to programmatically chain asynchronous operations in C#4, such as Writes to a given Stream object. I originally did this \"manually\", hooking callbacks from one
Try ContinueWhenAll() or ContinueWhenAny() instead of ContinueWith(). See here.
ContinueWhenAll()
ContinueWhenAny()
ContinueWith()