Oddur MagnussonObject reference not set to an instance of a human beingThreadPool.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... |