Method | Description | |
---|---|---|
Dispose ( ) : void | ||
Start ( ) : void |
Starts the timer.
|
|
Stop ( ) : void |
Stops the timer.
|
|
Timer ( int period ) : System |
Creates a new Timer.
|
|
Timer ( int period, bool runOnStart ) : System |
Creates a new Timer.
|
|
WaitToStop ( ) : void |
Waits the service to stop.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
TimerCallBack ( object state ) : void |
This method is called by _taskTimer.
|
public Timer ( int period ) : System | ||
period | int | Task period of timer (as milliseconds) |
return | System |
public Timer ( int period, bool runOnStart ) : System | ||
period | int | Task period of timer (as milliseconds) |
runOnStart | bool | /// Indicates whether timer raises Elapsed event on Start method of Timer for once /// |
return | System |