Change Method (DateTime, TimeSpan)

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

Changes the start time and the interval between method invocations for a timer, using DateTime and TimeSpan values to measure time intervals.

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


Public Sub Change ( _
    dueTime As DateTime, _
    period As TimeSpan _
public void Change(
    DateTime dueTime,
    TimeSpan period
void Change(
    DateTime dueTime, 
    TimeSpan period
member Change : 
        dueTime:DateTime * 
        period:TimeSpan -> unit 
public function Change(
    dueTime : DateTime, 
    period : TimeSpan


  • dueTime
    Type: System. . :: . .DateTime
    The DateTime value that represents the amount of time the timer will wait before the callback parameter invokes its methods, in milliseconds. Specify Infinite to prevent the timer from starting. Specify 0 (zero) to start the timer immediately.
  • period
    Type: System. . :: . .TimeSpan
    The TimeSpan value that represents the time interval between invocations of the methods referenced by the delegate specified at Timer construction time, in milliseconds. Specify Infinite to disable periodic signaling.

.NET Framework Security

See Also


ExtendedTimer Class

Change Overload

Microsoft.SPOT Namespace