ScheduledTask Class

Represents a way to schedule a task to be executed on a separate thread immediately or after a given time delay.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.128 -- Release Build+d4a9a653be1def5888b9be91bb1825c8655f3529
public class ScheduledTask : IDisposable
Inheritance
Object    ScheduledTask
Implements
IDisposable

Constructors

ScheduledTask Creates a ScheduledTask.

Methods

Dispose Starts the disposing process of exiting the worker thread.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Cleans up the ThreadContainerBase thread since that class likely will never be garbage collected.
(Overrides ObjectFinalize)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Start Starts the task immediately, or if one was scheduled, starts the scheduled task immediately
Start(Int32) Starts a timer to run the task after a provided interval.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

Disposing Occurs right before this task is disposed.
Running Occurs every time the task should run.

See Also