This class represents a scheduled or unscheduled timer event.
| C# | Visual Basic | Managed C++ |
public interface IAlarm : IDisposable
Public Interface IAlarm _ Implements IDisposable
public interface class IAlarm : IDisposable
| All Members | Constructors | Methods | Properties | Fields | Events |
| Icon | Member | Description |
|---|---|---|
| Cancel() |
Cancel the timer event.
| |
| Cancelled |
Indicates whether the event has been cancelled.
| |
| Completed |
Indicates whether the event has fired.
| |
| Context |
The context object provided at the time the event was scheduled (or modified by the application thereafter).
| |
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
| Reschedule() |
Reschedule the event for execution with the same timeout.
| |
| Reschedule(Double) |
Reschedule the event for execution with the new timeout.
| |
| Time |
The time at which the event is scheduled to run.
| |
| Timeout |
The original timeout that the event was configured with.
|