Hi Rick! What can I say? Your design is, well, definitely better for your case:) It doesn't assume any coupling between A and B, and thus will work for any other async pattern. Thanks for sharing your idea! In my opinion, it doesn't matter whether the AsyncCallback delegate receives the original IAsyncResult or not. It will use it only in order to finish the async. invocation (i.e. call bar.EndFoo(ar)) and get the original state from the AsyncState property.
Cheers, Stoyan =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com
