Click or drag to resize

WorkerThreadPoolQueueUserWorkItem(WaitCallback, Object, Int32, Int32) Method

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

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

Parameters

waitCallBack  WaitCallback
A WaitCallback that defines the WorkItem.
state  Object
An object that is passed to the workitem.
handle  Int32
An id for the WorkItem, like e.g. the handle of the control the queued workitem belongs to.
timeToWait  Int32
Milliseconds before the WorkItem starts its job.
See Also