Problem in implementing IAlertUpdateHandler interface
        Posted  
        
            by TheVillageIdiot
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by TheVillageIdiot
        
        
        
        Published on 2010-04-07T11:59:12Z
        Indexed on 
            2010/04/07
            12:03 UTC
        
        
        Read the original article
        Hit count: 380
        
I've implemented IAlertUpdateHandler interface in a class and used it for handling creation and updating of alerts. The code is fired but it goes into endless loop by calling itself again and again. 
Actually I want to suppress email notification so I'm calling a.Update(false); but this again calls PreUpdate or PostUpdate method and there is
StackOverFlowException :( 
I've tried returning true/false from both the methods but nothing is helping.
© Stack Overflow or respective owner