Receives a Boolean parameter that determines whether the handle was signaled or the WaitHandle timed out.
C# Syntax:
[Serializable] public delegate void WaitOrTimerCallback(object state, bool timedOut);
Parameters:
The declaration of your event handler must have the same parameters as the
WaitOrTimerCallback delegate declaration.
state
The object passed to the delegate.
timedOut
true to indicate the handle was signaled; false to indicate the handle timed out.
Remarks
This method is a delegate for the registered Wait objects. Every derived class of Delegate and MulticastDelegate has a constructor and an Invoke method. See the Managed Extensions for C++ code example in the description for the Delegate.
For more information about event handler delegates, see .