WorkerThreadPoolQueueUserWorkItemT Method (ActionT) |
Adds an
ActionT delegate call to the work item queue.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.1
Syntax public IWorkItem QueueUserWorkItem<T>(
Action<T> action
)
where T : class
Public Function QueueUserWorkItem(Of T As Class) (
action As Action(Of T)
) As IWorkItem
public:
generic<typename T>
where T : ref class
IWorkItem^ QueueUserWorkItem(
Action<T>^ action
)
member QueueUserWorkItem :
action : Action<'T> -> IWorkItem when 'T : not struct
Parameters
- action
- Type: SystemActionT
An ActionT delegate.
Type Parameters
- T
- Generic type parameter.
Return Value
Type:
IWorkItemAn IWorkItem.
See Also