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.164 -- Release Build+6bbd7ea5ff4ad8917f12d693358b77d083ee278e
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