WorkerThreadPoolQueueUserWorkItem Method (WaitCallback) |
Adds a user work item to the Threadpool that is immediately being processed.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.1
Syntax public IWorkItem QueueUserWorkItem(
WaitCallback waitCallBack
)
Public Function QueueUserWorkItem (
waitCallBack As WaitCallback
) As IWorkItem
public:
IWorkItem^ QueueUserWorkItem(
WaitCallback^ waitCallBack
)
member QueueUserWorkItem :
waitCallBack : WaitCallback -> IWorkItem
Parameters
- waitCallBack
- Type: System.ThreadingWaitCallback
A WaitCallback that defines the WorkItem.
Return Value
Type:
IWorkItemThe IWorkItem that has been queued.
See Also