Home Cooker Classes Others Rice CookerGX
Classes  >  timer  >  StopWithException(bool)
timer class : StopWithException(bool) setter

Description

Sets the value that indicates whether the timerhandler will automatically be stopped if the execution finished with the exception.

Syntax

timerInstance.StopWithException = stop

Arguments

ClassNameDescription
boolstopThe value that indicates whether the timerhandler will automatically be stopped if the execution finished with the exception.

Return value

None

Sample code

//anyTimer is an instance of timer type.

anyTimer.StopWithException = true;

Notes

Sets true if the timerhandler will automatically be stopped. Otherwise, sets false.

The defalut is true.

Links for reference

None

Copyright © Rice All rights reserved.