TaskSynchronizedOperation(FuncTask, ActionException) Constructor

Creates a new instance of the TaskSynchronizedOperation class.

Definition

Namespace: Gemstone.Threading.SynchronizedOperations
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.173 -- Release Build+298e1c238b074757f82f41812034645402a162ed
public TaskSynchronizedOperation(
	Func<Task> asyncAction,
	Action<Exception>? exceptionAction
)

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