Queues a user work item to the thread pool.
State data can be stored in the instance fields of the class on which the delegate is defined. By default, the callback function is queued to a non-I/O worker thread.
Queues a user work item to the thread pool.
[Visual Basic] Overloads Public Shared Function QueueUserWorkItem(WaitCallback, Object) As Boolean
[C#] public static bool QueueUserWorkItem(WaitCallback, Object);
[C++] public: static bool QueueUserWorkItem(WaitCallback*, Object);
[JScript] public static function QueueUserWorkItem(WaitCallback, Object) : Boolean;
Queues a user work item to the thread pool.
[Visual Basic] Overloads Public Shared Function QueueUserWorkItem(WaitCallback) As Boolean
[C#] public static bool QueueUserWorkItem(WaitCallback);
[C++] public: static bool QueueUserWorkItem(WaitCallback*);
[JScript] public static function QueueUserWorkItem(WaitCallback) : Boolean;
ThreadPool Class | ThreadPool Members | System.Threading Namespace