LongSynchronizedOperation(ActionCancellationToken, ActionException) Constructor
Namespace: Gemstone.Threading.SynchronizedOperationsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.186 -- Release Build+f3c68cd1a13b4f341e0d0fc1ddec1eb68d3eeb61
Gemstone.Threading.SynchronizedOperations.LongSynchronizedOperation = function(action, exceptionAction);
Parameters
- action ActionCancellationToken
- The action to be performed during this operation.
- exceptionAction ActionException
- The cancellable action to be performed if an exception is thrown from the action.
Cancellable synchronized operation is useful in cases where actions should be terminated
during dispose and/or shutdown operations.