Gemstone Common Library
Show/Hide TOC

# ActionExtensions Class

Defines extension methods for actions.

## Definition

Namespace: Gemstone.ActionExtensions
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.173 -- Release Build+298e1c238b074757f82f41812034645402a162ed
C#
View Source Request Example

    public static class ActionExtensions

VB
View Source Request Example

    <ExtensionAttribute>
    Public NotInheritable Class ActionExtensions

C++
View Source Request Example

    [ExtensionAttribute]
    public ref class ActionExtensions abstract sealed

JavaScript
View Source Request Example

    Gemstone.ActionExtensions.ActionExtensions = function();

    Type.createClass(
    	'Gemstone.ActionExtensions.ActionExtensions');

Inheritance
  Object ActionExtensions

## Methods

DelayAndExecute(Action, Int32, ActionException) | Execute an action on the thread pool after a specified number of milliseconds.
DelayAndExecute(ActionCancellationToken, Int32, ActionException) | Execute a cancellable action on the thread pool after a specified number of milliseconds.
DelayAndExecute(Action, Int32, CancellationToken, ActionException) | Execute an action on the thread pool after a specified number of milliseconds.
DelayAndExecute(ActionCancellationToken, Int32, CancellationToken, ActionException) | Execute a cancellable action on the thread pool after a specified number of milliseconds.
TryExecute | Attempts to execute an action and processes exceptions using the given exception handler.

## See Also

#### Reference

Gemstone.ActionExtensions Namespace