WorkerThreadPoolQueueUserWorkItem(WaitCallback, Object, Int32) Method |
Adds a user work item to the Threadpool that is immediately being processed and tagged with the given handle.
Namespace: Jam.ShellAssembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntaxpublic void QueueUserWorkItem(
WaitCallback waitCallBack,
Object state,
int handle
)
Public Sub QueueUserWorkItem (
waitCallBack As WaitCallback,
state As Object,
handle As Integer
)
public:
void QueueUserWorkItem(
WaitCallback^ waitCallBack,
Object^ state,
int handle
)
member QueueUserWorkItem :
waitCallBack : WaitCallback *
state : Object *
handle : int -> unit
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.
See Also