Home Notices Documents Classes Download Others Rice
Classes  >  noticeeventargs  >  EHSwitch
noticeeventargs class : EHSwitch getter

Description

Gets the switch to control the handler execution.

Syntax

noticeeventargsInstance.EHSwitch

Arguments

None

Return value

ClassDescription
ehswitchSwitch to control the handler execution.

Sample code

1:

open method void anyNoticeHandler(noticeeventargs nea)

2:

...

3:

ehswitch ehs = nea.EHSwitch;

4:

ehs.Stop(); // Stops handling.

5:

...

6:

endmethod

Notes

The noticeeventargs will appear as an argument of the notice event handler.

Links for reference

None.

Copyright © Rice All rights reserved.