System.Threading.WaitOrTimerCallback Delegate

Assembly: Mscorlib.dll
Namespace: System.Threading
Summary
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 .

See also:
System.Threading Namespace

Hierarchy:

Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.