Interface ITimer
An interface for a handle to cancel a timer.
[PublicAPI]
public interface ITimer : IDisposable
- Inherited Members
- Extension Methods
Remarks
Disposing of the timer has the same effect as calling Cancel() . One of the two cancels the timer. Otherwise, a caller does not have to dispose of an object that implements this interface.
Methods
- Cancel()
Cancels the timer, so that it will not fire.