| 
            
              ManagedThreadPoolQueueUserWorkItem(ContextCallback, Object, ExecutionContext) Method
             | 
          
        
        
            Queues a work item for processing on the managed thread pool
            
        
        Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntaxpublic static ManagedThread QueueUserWorkItem(
	ContextCallback callback,
	Object state,
	ExecutionContext ctx
)
Public Shared Function QueueUserWorkItem ( 
	callback As ContextCallback,
	state As Object,
	ctx As ExecutionContext
) As ManagedThread
public:
static ManagedThread^ QueueUserWorkItem(
	ContextCallback^ callback, 
	Object^ state, 
	ExecutionContext^ ctx
)
static member QueueUserWorkItem : 
        callback : ContextCallback * 
        state : Object * 
        ctx : ExecutionContext -> ManagedThread GSF.Threading.ManagedThreadPool.QueueUserWorkItem = function(callback, state, ctx);
 View SourceParameters
- callback  ContextCallback
 - A WaitCallback representing the method to execute.
 - state  Object
 - An object containing data to be used by the method.
 - ctx  ExecutionContext
 - Alternate execution context in which to run the thread.
 
Return Value
ManagedThreadReference 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