WorkerThreadPoolQueueUserWorkItem Method (WaitCallback, Object) |
Adds a user work item to the Threadpool that is immediately being processed.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 6.3.1
Syntax public void QueueUserWorkItem(
WaitCallback waitCallBack,
Object state
)
Public Sub QueueUserWorkItem (
waitCallBack As WaitCallback,
state As Object
)
public:
void QueueUserWorkItem(
WaitCallback^ waitCallBack,
Object^ state
)
member QueueUserWorkItem :
waitCallBack : WaitCallback *
state : Object -> unit
Parameters
- waitCallBack
- Type: System.ThreadingWaitCallback
A WaitCallback that defines the WorkItem. - state
- Type: SystemObject
An object that is passed to the workitem.
See Also