 | EventTimer Constructor |
Initializes a new instance of the
EventTimer class, using a 32-bit signed integer to specify the time interval.
Namespace: AxiomCore2.EventsAssembly: Canary.Axiom.Session (in Canary.Axiom.Session.exe) Version: 25.6.0.25344+3070493948bf7d32a86bd3e9a8bcf4cc9a5b1929
Syntaxpublic EventTimer(
EventDelegatesOnTimerCallback callback,
int dueTime,
int period = -1,
Object userData = null
)
Parameters
- callback EventDelegatesOnTimerCallback
- A EventDelegatesOnTimerCallback delegate representing a method to be executed.
- dueTime Int32
- The amount of time to delay before callback is invoked, in milliseconds.
Specify Infinite to prevent the timer from starting.
Specify zero (0) to start the timer immediately.
- period Int32 (Optional)
- The time interval between invocations of callback, in milliseconds.
Specify Infinite to disable periodic signaling.
Default is Infinite.
- userData Object (Optional)
- An object containing information to be used by the callback method, or null.
Default is null.
Return Value
See Also