Name

WaitOrTimerCallback

Synopsis

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( )}

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.