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

Description

Gets the value that indicates whether the eventhandler will automatically be stopped if the execution finished with the exception.

Syntax

ehswitchInstance.StopWithException

Arguments

None

Return value

ClassDescription
boolThe value that indicates whether the eventhandler will automatically be stopped if the execution finished with the exception.

Sample code

//anyEhswitch is an instance of ehswitch type.

bool stop = anyEhswitch.StopWithException;

Notes

Returns true if the eventhandler will automatically be stopped. Otherwise, returns false.

The defalut is true.

Links for reference

None

Copyright © Rice All rights reserved.