Click or drag to resize

ManagedThreadPoolQueueUserWorkItem(ThreadStart) Method

Queues a work item for processing on the managed thread pool

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.243-beta+92d6762f3b12bbbc557022a0922be296d2dc09be
Syntax
public static ManagedThread QueueUserWorkItem(
	ThreadStart callback
)
View Source

Parameters

callback  ThreadStart
A WaitCallback representing the method to execute.

Return Value

ManagedThread
Reference to queued thread
Remarks
This differs from the normal thread pool QueueUserWorkItem function in that it does not return a success value determing if item was queued, but rather a reference to to the managed thread that was actually placed on the queue.
See Also