Share via


Change Method (Int32, Int32)

[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 32-bit signed integers to measure time intervals.

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

Syntax

'Declaration
Public Sub Change ( _
    dueTime As Integer, _
    period As Integer _
)
public void Change(
    int dueTime,
    int period
)
public:
void Change(
    int dueTime, 
    int period
)
member Change : 
        dueTime:int * 
        period:int -> unit 
public function Change(
    dueTime : int, 
    period : int
)

Parameters

  • dueTime
    Type: System. . :: . .Int32
    The amount of time the timer will wait before the delegate specified at Timer construction time invokes its methods, in milliseconds. Specify Infinite to prevent the timer from restarting. Specify 0 (zero) to restart the timer immediately.
  • period
    Type: System. . :: . .Int32
    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

Reference

ExtendedTimer Class

Change Overload

Microsoft.SPOT Namespace