Bridge

Timer..::..Change Method (UInt32, UInt32)

Changes the start time and the interval between method invocations for a timer, using 32-bit unsigned integers to measure time intervals.

Namespace:  System.Threading
Assembly:  Bridge (in Bridge.dll)

Syntax


[NameAttribute]
public bool Change(
	uint dueTime,
	uint period
)
<NameAttribute> _
Public Function Change ( _
	dueTime As UInteger, _
	period As UInteger _
) As Boolean
[NameAttribute]
public:
bool^ Change(
	unsigned int^ dueTime, 
	unsigned int^ period
)

Parameters

dueTime
Type: System..::..UInt32
The amount of time to delay before the invoking the callback method specified when the Timer was constructed, in milliseconds. Specify Timeout.Infinite to prevent the timer from restarting. Specify zero (0) to restart the timer immediately.
period
Type: System..::..UInt32
The time interval between invocations of the callback method specified when the Timer was constructed, in milliseconds. Specify Timeout.Infinite to disable periodic signaling.

Return Value

true if the timer was successfully updated; otherwise, false.