QueueUserWorkItem()
Contents
[
Hide
]ThreadPool::QueueUserWorkItem(WaitCallback) method
Puts work item into queue which is present with callback with no parameter.
static bool System::Threading::ThreadPool::QueueUserWorkItem(WaitCallback callback)
Arguments
Parameter | Type | Description |
---|---|---|
callback | WaitCallback | Callback function to be used as a job. |
Return Value
Always returns true.
ThreadPool::QueueUserWorkItem(WaitCallback, const System::SharedPtr<System::Object>&) method
Puts work item into queue which is present with callback with no parameter.
static bool System::Threading::ThreadPool::QueueUserWorkItem(WaitCallback callback, const System::SharedPtr<System::Object> &state)
Arguments
Parameter | Type | Description |
---|---|---|
callback | WaitCallback | Callback function to be used as a job. |
state | const System::SharedPtr<System::Object>& | Job function parameter. |
Return Value
Always returns true.
See Also
- Typedef WaitCallback
- Typedef SharedPtr
- Class ThreadPool
- Class Object
- Namespace System::Threading
- Library Aspose.Slides