Click or drag to resize

TaskSynchronizedOperation(FuncTask, ActionException) Constructor

Creates a new instance of the TaskSynchronizedOperation class.

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public TaskSynchronizedOperation(
	Func<Task> asyncAction,
	Action<Exception> exceptionAction
)
View Source

Parameters

asyncAction  FuncTask
The action to be performed during this operation.
exceptionAction  ActionException
The action to be performed if an exception is thrown from the action.
See Also