Initializes a new instance of the timer class, using a 32-bit unsigned integer to specify the time interval.
- Parameters
-
callback | the address of a method to be executed |
state | An object containing information to be used by the callback method, or null. |
due_time | The amount of time to delay before callback is invoked, in milliseconds. Specify Timeout::Infinite to prevent the timer from starting. Specify zero (0) to start the timer immediately. |
period | The time interval between invocations of callback, in milliseconds. Specify Timeout::Infinite to disable periodic signaling. |
- Exceptions
-