Queues a method for the execution, and specifies an object to be used by the method.
Declaring type: IThreadPoolExtensions
Namespace: Zyan.Communication.Threading
Assembly: Zyan.Communication
Collapse/Expand Syntax
C#
public static void QueueUserWorkItem (
        IThreadPool threadPool,
        WaitCallback work
) 
Parameters
threadPool
An instance of the IThreadPool.
work
A System.Threading.WaitCallback representing the method to execute.