Home Notices Documents Classes Download Others Rice
Classes  >  ehswitch  >  Stop()
ehswitch class : Stop() method

Description

Stops the execution of the event handler.

Syntax

ehswitchInstance.Stop()

Arguments

None

Return value

None

Sample code

1:

open method void anyLoadHandler(eventargs ea)

2:

...

3:

ehswitch ehs = ea.EHSwitch;

4:

ehs.Stop(); // Stops the execution of the handler at inside the handler.

5:

...

6:

endmethod

Notes

If a event handler is already stopped, re-call of this method will be ignored.

Links for reference

None

Copyright © Rice All rights reserved.