WorkerThreadPoolQueueUserWorkItemT(ActionT) Method |
Adds an
ActionT delegate call to the work item queue.
Namespace: Jam.ShellAssembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntaxpublic 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 structParameters
- action ActionT
- An ActionT delegate.
Type Parameters
- T
- Generic type parameter.
Return Value
IWorkItemAn IWorkItem.
See Also