RecurringTaskScheduler Class | 
Namespace: AGI.Foundation.Infrastructure.Threading
The RecurringTaskScheduler type exposes the following members.
| Name | Description | |
|---|---|---|
| RecurringTaskScheduler | 
            Initializes a new instance.  The scheduler uses the number of threads indicated
            by the ThreadingPolicy.
              | |
| RecurringTaskScheduler(Int32) | 
            Initializes a new instance to use a specified number of threads.
              | 
| Name | Description | |
|---|---|---|
| IsRunning | 
            Gets a value indicating whether the scheduler is running.
              | |
| NumberOfThreads | 
            Gets the number of threads used to execute the recurring tasks.
              | |
| TaskCount | 
            Gets the number of tasks.
              | |
| Tasks | 
            Gets the list of tasks.
              | 
| Name | Description | |
|---|---|---|
| AddTask | 
            Adds a task to be executed on a recurring basis.
              | |
| Dispose | 
            Stops running the scheduler if it is active.
              | |
| Equals | Determines whether the specified object is equal to the current object.  (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function.   (Inherited from Object.) | |
| GetTaskData | 
            Gets a copy of the performance metrics associated with the given recurring task.
              | |
| GetType | Gets the Type of the current instance.  (Inherited from Object.) | |
| RemoveTask | 
            Removes a task so that it is no longer executed on a recurring basis.
              | |
| Start | 
            Starts running the scheduler.  This method returns once
            NumberOfThreads threads have been started.
              | |
| Stop | 
            Stops running the scheduler.  This method does not return
            until all threads have stopped.
              | |
| ToString | Returns a string that represents the current object.  (Inherited from Object.) |