Home Cooker Classes Others Rice CookerGX
Classes  >  ehswitch  >  ShowException
ehswitch class : ShowException getter

Description

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

Syntax

ehswitchInstance.ShowException

Arguments

None

Return value

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

Sample code

//anyEhswitch is an instance of ehswitch type.

bool show = anyEhswitch.ShowException;

Notes

Returns true if the error messages will be shown. Otherwise, returns false.

The defalut is true.

Links for reference

None

Copyright © Rice All rights reserved.