Queues the user work item to be executed by the single thread.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ |
public void QueueUserWorkItem( WaitCallback callback, Object state )
Public Sub QueueUserWorkItem ( _ callback As WaitCallback, _ state As Object _ )
public: void QueueUserWorkItem( WaitCallback^ callback, Object^ state )
![](../icons/collapse_all.gif)
- callback (WaitCallback)
- The callback to be executed within the single thread.
- state (Object)
- The state object to be passed to the callback.