Delegate for the registered Wait objects.
Receives a boolean parameter wich determines whether the handle was signaled or the WaitHandle timed out.
[Visual Basic] Public Delegate Sub WaitOrTimerCallback( _ ByVal state As Object, _ ByVal wasSignalled As Boolean _ ) [C#] public delegate void WaitOrTimerCallback( object state, bool wasSignalled ); [C++] public __gc __delegate void WaitOrTimerCallback( Object* state, bool wasSignalled );
[JScript] In JScript, you can use the delegates in the NGWS frameworks, but you cannot define your own.
The declaration of your event-handling method must have the same parameters as the WaitOrTimerCallback delegate declaration.
Every subclass of Delegate and MulticastDelegate has a constructor and an Invoke method. See the managed C++ code example in the description for the Delegate.
Namespace: System.Threading
Assembly: mscorlib.dll