ExtendedTimer Constructor (TimerCallback, Object, Int32, Int32)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the ExtendedTimer class, using 32-bit signed integers to measure time intervals.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)


Public Sub New ( _
    callback As TimerCallback, _
    state As Object, _
    dueTime As Integer, _
    period As Integer _
public ExtendedTimer(
    TimerCallback callback,
    Object state,
    int dueTime,
    int period
    TimerCallback^ callback, 
    Object^ state, 
    int dueTime, 
    int period
new : 
        callback:TimerCallback * 
        state:Object * 
        dueTime:int * 
        period:int -> ExtendedTimer
public function ExtendedTimer(
    callback : TimerCallback, 
    state : Object, 
    dueTime : int, 
    period : int


  • state
    Type: System. . :: . .Object
    An object that contains application-specific information relevant to the methods invoked by the callback method, or nullNothingnullptrunita null reference (Nothing in Visual Basic).
  • dueTime
    Type: System. . :: . .Int32
    The amount of time the timer will wait before the callback method invokes its methods, in milliseconds. Specify Infinite to prevent the timer from starting. Specify 0 (zero) to start the timer immediately.
  • period
    Type: System. . :: . .Int32
    The time interval between invocations of the methods referenced by the callback method, in milliseconds. Specify Infinite to disable periodic signaling.

.NET Framework Security

See Also


ExtendedTimer Class

ExtendedTimer Overload

Microsoft.SPOT Namespace