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.153 -- Release Build+cfa0f66eec3b78014206cf98a152ef9e72791f21
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