System.Threading.WaitCallback Delegate

Assembly: Mscorlib.dll
Namespace: System.Threading
Summary
Defines the callback method for thread pool user work items. That method must match this delegate.
C# Syntax:
[Serializable]
public delegate void WaitCallback(object state);
Parameters:
The declaration of your event handler must have the same parameters as the WaitCallback delegate declaration.

state

The object passed to the delegate.

Remarks
Every derived class of Delegate and MulticastDelegate has a constructor and an Invoke method. See the Managed Extensions for C++ code example given in the description for the Delegate class.

For more information about event handler delegates, see .

See also:
System.Threading Namespace | ThreadPool

Hierarchy:

Top of page

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