C # in a Nutshell, Second Edition
This delegate is passed to a ThreadPool . If the wasSignaled parameter is true , then the delegate is invoked in response to a signal; otherwise , it is invoked because the handle timed out. public delegate void WaitOrTimerCallback (object state , bool timedOut ); Passed To
ThreadPool.{RegisterWaitForSingleObject( ) , UnsafeRegisterWaitForSingleObject( )} |