ExtendedTimer Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Provides a mechanism for executing methods at specified intervals or on specific events.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.SPOT..::..ExtendedTimer
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)
Syntax
'Declaration
Public NotInheritable Class ExtendedTimer _
Implements IDisposable
public sealed class ExtendedTimer : IDisposable
public ref class ExtendedTimer sealed : IDisposable
[<Sealed>]
type ExtendedTimer =
class
interface IDisposable
end
public final class ExtendedTimer implements IDisposable
The ExtendedTimer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ExtendedTimer(TimerCallback, Object, ExtendedTimer. . :: . .TimeEvents) | Initializes a new instance of the ExtendedTimer class. | |
ExtendedTimer(TimerCallback, Object, DateTime, TimeSpan) | Initializes a new instance of the ExtendedTimer class, using DateTime and TimeSpan values to measure time intervals. | |
ExtendedTimer(TimerCallback, Object, Int32, Int32) | Initializes a new instance of the ExtendedTimer class, using 32-bit signed integers to measure time intervals. | |
ExtendedTimer(TimerCallback, Object, TimeSpan, TimeSpan) | Initializes a new instance of the ExtendedTimer class, using TimeSpan values to measure time intervals. |
Top
Properties
Name | Description | |
---|---|---|
LastExpiration | Gets the TimeSpan value of the last expiration of the current timer. |
Top
Methods
Name | Description | |
---|---|---|
Change(DateTime, TimeSpan) | Changes the start time and the interval between method invocations for a timer, using DateTime and TimeSpan values to measure time intervals. | |
Change(Int32, Int32) | Changes the start time and the interval between method invocations for a timer, using 32-bit signed integers to measure time intervals. | |
Change(TimeSpan, TimeSpan) | Changes the start time and the interval between method invocations for a timer, using TimeSpan values to measure time intervals. | |
Dispose | Releases all resources used by the current instance of the ExtendedTimer class. | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.