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.143 -- Release Build+524337d392fd5616b12b50022b004322b9e7c330
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