ExtendedTimer Constructor (TimerCallback, Object, DateTime, TimeSpan)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Assembly: Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)
'Declaration Public Sub New ( _ callback As TimerCallback, _ state As Object, _ dueTime As DateTime, _ period As TimeSpan _ )
public ExtendedTimer( TimerCallback callback, Object state, DateTime dueTime, TimeSpan period )
public: ExtendedTimer( TimerCallback^ callback, Object^ state, DateTime dueTime, TimeSpan period )
new : callback:TimerCallback * state:Object * dueTime:DateTime * period:TimeSpan -> ExtendedTimer
public function ExtendedTimer( callback : TimerCallback, state : Object, dueTime : DateTime, period : TimeSpan )
Type: System.Threading. . :: . .TimerCallback
The callback method that is executed when the timer expires.
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).
Type: System. . :: . .DateTime
The DateTime value that represents 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.
Type: System. . :: . .TimeSpan
The TimeSpan value that represents the time interval between invocations of the methods referenced by the callback method, in milliseconds. Specify Infinite to disable periodic signaling.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.