Click or drag to resize

WorkerThreadPoolQueueUserWorkItem Method (WaitCallback, Object, Int32)

Adds a user work item to the Threadpool that is immediately being processed and tagged with the given handle.

Namespace:  Jam.Shell
Assembly:  ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.1
Syntax
public void QueueUserWorkItem(
	WaitCallback waitCallBack,
	Object state,
	int handle
)

Parameters

waitCallBack
Type: System.ThreadingWaitCallback
A WaitCallback that defines the WorkItem.
state
Type: SystemObject
An object that is passed to the workitem.
handle
Type: SystemInt32
An id for the WorkItem, like e.g. the handle of the control the queued workitem belongs to.
See Also