NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ThreadPool.QueueUserWorkItem (WaitCallback)

Queues a user work item to the thread pool.

[Visual Basic]
Overloads Public Shared Function QueueUserWorkItem( _
   ByVal callBack As WaitCallback _
) As Boolean
[C#]
public static bool QueueUserWorkItem(
   WaitCallback callBack
);
[C++]
public: static bool QueueUserWorkItem(
   WaitCallback* callBack
);
[JScript]
public static function QueueUserWorkItem(
   callBack : WaitCallback
) : Boolean;

Parameters

callBack
A callback to execute when thread in the thread pool picks up a work item.

Return Value

true if the method succeeds.

false if the function fails.

See Also

ThreadPool Class | ThreadPool Members | System.Threading Namespace | ThreadPool.QueueUserWorkItem Overload List