Freigeben über


Binding Events to .NET 4.0 Tasks instead of Objects (Part 2)

In my last post, I showed how we’re binding event handlers to the Task after it’s already been started. This of course, is probably not what you want, as it’s possible to lose some events if the task starts up quick enough. So, the CoTask task factory also lets you pass the event listeners as [...]