Timer Methods |
The Timer type exposes the following members.
Name | Description | |
---|---|---|
Dispose |
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Disposable.) | |
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.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
OnTick |
Raises the Tick event.
| |
Restart |
Restarts this Timer.
| |
Run(Double, Action) |
Runs the specified action repeatedly with the specified interval.
| |
Run(Int32, Action) |
Runs the specified action repeatedly with the specified interval.
| |
Run(TimeSpan, Action) |
Runs the specified action repeatedly with the specified interval.
| |
RunOnce(Double, Action) |
Runs the specified action once after the specified interval.
| |
RunOnce(Int32, Action) |
Runs the specified action once after the specified interval.
| |
RunOnce(TimeSpan, Action) |
Runs the specified action once after the specified interval.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |