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.156 -- Release Build+59006cef9614396d8b79971beebc1091829bcfe4
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