Enqueue a callback to the thread pool.
Namespace: NetworkCommsDotNet.ToolsAssembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
Parameters
- priority
- Type: NetworkCommsDotNet.Tools QueueItemPriority
The priority with which to enqueue the provided callback
- callback
- Type:
System.Threading WaitCallback
The callback to execute
- state
- Type:
System Object
The state parameter to pass to the callback when executed
Return Value
Type:
Returns the managed threadId running the callback if one was available, otherwise -1
See Also