Search   Feed   Browse   Add
Feed items 1 - 1 of 1 for January 2007

Oddur Magnusson

Object reference not set to an instance of a human being

ThreadPool.QueueUserWorkItem Traps - January 2, 2007

The  QueueUserWorkItem is a function I&39;ve used a lot to queue up things that should execute async calls. And I&39;ve always called it like so:  ThreadPool.QueueUserWorkItem ( DoIt, someStateVariable) ;And things have been fine and dandy. Of course I thought that the QueueUserWorkItem method would return void since it&39;s an Async call. Well Actually it&39;s not async since it does some work queuing up the call, which could fail, and of course if it fail it should throw a...
http://weblogs.asp.net/omagnusson/archive/2007/01/02/threadpool-queueuserworkitem-traps.as...
Available Archives
- January (1 item)
- February (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact