Are there any details available on how to implement your own Invoke patern For example to have all calls on an object run on the object's creating thread
Thanks,
Ray Manning
Are there any details available on how to implement your own Invoke patern For example to have all calls on an object run on the object's creating thread
Thanks,
Ray Manning
Implementing the Invoke pattern?
Sai A
I wasn't asking about how to use Invoke or why it is used, I was asking how to go about implementing the same pattern. I've made progress on the solution but haven't put together the solution.
I'm pretty sure you can record the thread in the object at creation time and make use of an AsyncOperation object in order to implement a context change within an your implementation of Invoke(). I also think the practical solution involves creating a late bound version of Delegate.BeginInvoke.
- Ray
Wally_West