Home Cooker Classes Others Rice CookerGX
Classes  >  ehswitch  >  ShowException(bool)
ehswitch 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

ehswitchInstance.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

//anyEhswitch is an instance of ehswitch type.

anyEhswitch.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.