Share via


ExtendedTimer Constructor (TimerCallback, Object, ExtendedTimer.TimeEvents)

[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.

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

Syntax

'Declaration
Public Sub New ( _
    callback As TimerCallback, _
    state As Object, _
    ev As ExtendedTimer.TimeEvents _
)
public ExtendedTimer(
    TimerCallback callback,
    Object state,
    ExtendedTimer.TimeEvents ev
)
public:
ExtendedTimer(
    TimerCallback^ callback, 
    Object^ state, 
    ExtendedTimer::TimeEvents ev
)
new : 
        callback:TimerCallback * 
        state:Object * 
        ev:ExtendedTimer.TimeEvents -> ExtendedTimer
public function ExtendedTimer(
    callback : TimerCallback, 
    state : Object, 
    ev : ExtendedTimer..::..TimeEvents
)

Parameters

  • 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).

.NET Framework Security

See Also

Reference

ExtendedTimer Class

ExtendedTimer Overload

Microsoft.SPOT Namespace