This is preliminary documentation and subject to change. To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Timer.Change (TimeSpan, TimeSpan)
Updates a timer-queue timer.
[Visual Basic]
Overloads Public Function Change( _
ByVal dueTime As TimeSpan, _ ByVal period As TimeSpan _) As Boolean[C#]
public bool Change(
TimeSpan dueTime, TimeSpan period);[C++]
public: bool Change(
TimeSpan dueTime, TimeSpan period);[JScript]
public function Change(
dueTime : TimeSpan,period : TimeSpan) : Boolean;
Parameters
dueTime
Specifies the time period after which the timer should expire.
period
Specifies the period of the timer. If period is zero, the timer is signaled once. If period is greater than zero, the timer is periodic. A periodic timer automatically reactivates each time the period elapses, until the timer is canceled using the Dispose method or reset using Change. If period is less than zero, the function fails.