D
deostroll
HI,
I know that if you want to write a method that does some operations
and you want to async execute it, you write a method with the
following pattern
IAsyncResult BeginOperation(AsyncCallback userCallback, Object state);
This is a simple prototype. Now inside this method how do I return an
IAsyncResult object if I use the classical methods of thread creation
(i.e. if I call the sync task with a Thread.Start())?
--deostroll
I know that if you want to write a method that does some operations
and you want to async execute it, you write a method with the
following pattern
IAsyncResult BeginOperation(AsyncCallback userCallback, Object state);
This is a simple prototype. Now inside this method how do I return an
IAsyncResult object if I use the classical methods of thread creation
(i.e. if I call the sync task with a Thread.Start())?
--deostroll