 | EventTimerChange Method |
Changes the start time and the interval between method invocations for a timer, using 32-bit signed integers to measure time intervals.
Namespace: AxiomCore2.EventsAssembly: Canary.Axiom.Session (in Canary.Axiom.Session.exe) Version: 25.6.0.25344+3070493948bf7d32a86bd3e9a8bcf4cc9a5b1929
Syntaxpublic bool Change(
int dueTime,
int period = -1
)
Parameters
- dueTime Int32
- The amount of time to delay before the invoking the callback method specified when the EventTimer was constructed, in milliseconds.
Specify Infinite to prevent the timer from restarting.
Specify zero (0) to restart the timer immediately.
- period Int32 (Optional)
- The time interval between invocations of the callback method specified when the EventTimer was constructed, in milliseconds.
Specify Infinite to disable periodic signaling.
Return Value
BooleanBoolean true if the timer was successfully updated; otherwise, false.
See Also