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.171 -- Release Build+4f4d518944b843c059d40b523747cd410a7c216d
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