My understanding of your mail was that you had a method called MyMethod and you wanted to provide an asynchronous alternative for that method....my reply to you was written very fast (re: BeginInvoice ..should be BeginInvoke etc.) but the pattern I here presented should do the job regarding you initial mail.
If you as you state in your 2nd mail wants to create a class that implements the IAsyncResult!, well in that case it depends what your class impl. the IAsyncResult should do asynchronous ? I/O operation, reading/writing streams, calculating stuff ? -- @llan On Thu, 20 Oct 2005 04:24:41 -0400, Ragnvald Barth <[EMAIL PROTECTED]> wrote: >Thx for your answer, it might help me to get started... But I still have >to create a class that implements IAsyncResult and write the >implementation in the correct way. How? This must have been done before, >and it should be possible to do it in a generic way so that the code can >be reused too... > >=================================== >This list is hosted by DevelopMentorĀ® http://www.develop.com > >View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
