Initializes a new instance of the DelegateTask class.

Namespace: Dapfor.Wpf.Threading
Assembly: Dapfor.Wpf (in Dapfor.Wpf.dll) Version: 4.1.0.26317 (4.1.0.26317)

Syntax

C#
public DelegateTask(
	DelegateTask..::..CallBack callBack
)
Visual Basic
Public Sub New ( 
	callBack As DelegateTask..::..CallBack
)
Visual C++
public:
DelegateTask(
	DelegateTask..::..CallBack^ callBack
)
F#
new : 
        callBack : DelegateTask..::..CallBack -> DelegateTask

Parameters

callBack
Type: Dapfor.Wpf.Threading..::..DelegateTask..::..CallBack
The callback delegate to be called in the IDispatcher's thread.

See Also