Gemstone Common Library
Show/Hide TOC

# SynchronizedOperationBase(Action, ActionException) Constructor

Creates a new instance of the SynchronizedOperationBase class.

## Definition

Namespace: Gemstone.Threading.SynchronizedOperations
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.151 -- Release Build+cb63b4525778c53d196bb55bacd9a49fac1f0f07
C#
View Source Request Example

    protected SynchronizedOperationBase(
    	Action action,
    	Action<Exception>? exceptionAction
    )

VB
View Source Request Example

    Protected Sub New (
    	action As Action,
    	exceptionAction As Action(Of Exception)
    )

C++
View Source Request Example

    protected:
    SynchronizedOperationBase(
    	Action^ action,
    	Action<Exception^>^ exceptionAction
    )

JavaScript
View Source Request Example

    Gemstone.Threading.SynchronizedOperations.SynchronizedOperationBase = function(action, exceptionAction);

#### Parameters

action Action
  The action to be performed during this operation.
exceptionAction Action Exception
  The action to be performed if an exception is thrown from the action.

## See Also

#### Reference

SynchronizedOperationBase Class
SynchronizedOperationBase Overload
Gemstone.Threading.SynchronizedOperations Namespace