ITimersSetTimer Method (String, Int32, Boolean) |
Activates the timer inKey to run for the milliseconds amount of inTimeoutMS
Namespace: SurveyToGo.UserLogic.InterfacesAssembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax void SetTimer(
string inKey,
int inTimeoutMS,
bool inReactivate
)
Parameters
- inKey
- Type: SystemString
the timer's name key - inTimeoutMS
- Type: SystemInt32
the amount of milliseconds for the timer to run - inReactivate
- Type: SystemBoolean
'true' if to re-activate the timer once ellapsed, or 'false' otherwise
Examples
Timers.SetTimer("MyTimer", 60000, true) will start the timer "MyTimer" to run for 60000 MS (1 minute).
Once ellapsed, the timer will be re-activated again for another 60000 MS.
See Also