Was this page helpful?

TaskTimer Class

    Table of contents
    1. 1. Members
      1. 1.1. Constructors
      2. 1.2. Fields
      3. 1.3. Properties
      4. 1.4. Methods
    Table of Contents
    public class TaskTimer
    Namespace: MindTouch.Dream
    Assembly: mindtouch.dream
    Type Hierarchy:
    • object
      • TaskTimer
    Provides a mechanism for invoking an action at future time.

    Members

    Constructors

    Visibility Description
    Public TaskTimer(Action<TaskTimer> handler, object state) This constructor is obsolete. Use TaskTimerFactory.New(Action<TaskTimer> handler, object state) instead.

    Fields

    Visibility Description
    Public State State object.

    Properties

    Visibility Description
    Public Retries Number of times the timer has retried a state change.
    Public When The time when the timer is scheduled to fire.
    Public Status Timer status.
    Public Handler The action that will be invoked at fire time.

    Methods

    Visibility Description
    Public New(DateTime when, Action<TaskTimer> handler, object state, TaskEnv env) This method is obsolete. Use TaskTimerFactory.New(DateTime when, Action<TaskTimer> handler, object state, TaskEnv env) instead.
    Public New(TimeSpan when, Action<TaskTimer> handler, object state, TaskEnv env) This methods is obsolete. Use TaskTimerFactory.New(TimeSpan when, Action<TaskTimer> handler, object state, TaskEnv env) instead.
    Public Shutdown() This method is obsolete. Use TaskTimerFactory.Shutdown() instead.
    Public Change(TimeSpan timespan, TaskEnv env) Change when the timer will execute.
    Public Change(DateTime when, TaskEnv env) Change when the timer will execute.
    Public Cancel() Cancel the scheduled invocation.
    Public ToString() (Inherited from Object)
    Public Equals(object obj) (Inherited from Object)
    Public GetHashCode() (Inherited from Object)
    Public GetType() (Inherited from Object)
    Protected MemberwiseClone() (Inherited from Object)
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by