Click or drag to resize
BackgroundThreadQueueTStartBackgroundThread Method
Creates and starts the background thread that will pop objects from the queue and process them.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void StartBackgroundThread(
	Action<T> processObject,
	Action<Exception> processException
)

Parameters

processObject
Type: SystemActionT
A delegate that will be called on a background thread with each object popped from the queue. In ThreadPool mode this can be called in parallel, in all other modes it is called in series.
processException
Type: SystemActionException
A delegate called on a background thread with the details of an exception that was caught during processObject's execution. In ThreadPool mode this can be called in parallel, in all other modes it is called in series.
See Also