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

Description

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

Syntax

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

//anyTimer is an instance of timer type.

bool stop = anyTimer.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.