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

Description

Sets the value that indicates whether the error messages will be shown if the execution of the handler finished with the exception.

Syntax

timerInstance.ShowException = show

Arguments

ClassNameDescription
boolshowThe value that indicates whether the error messages will be shown if the execution of the handler finished with the exception.

Return value

None

Sample code

//anyTimer is an instance of timer type.

anyTimer.ShowException = true;;

Notes

Sets true if the error messages will be shown. Otherwise, sets false.

The defalut is true.

Links for reference

None

Copyright © Rice All rights reserved.