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.172 -- Release Build+241430fabc9f8d815f226ef82f939af6835b2b48
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