adspace


Explain the Lapsed Listener problem in .net

Answer Posted / Sanam Singh

The Lapsed Listener problem occurs when a subscriber is unregistered from an event after it has already been notified. This can lead to unexpected behavior, as the subscriber may receive multiple copies of the event or miss subsequent events entirely.nnFor example, consider an event that sends emails for new orders. If a subscriber registers and immediately unregisters after receiving the first email (before the next order arrives), the Lapsed Listener problem can occur if the event is triggered again without checking whether the subscriber is still active.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

difference between Response.write,server.transfer and also which one is used when ?

1981


Why am I getting an invalidoperationexception when I serialize an arraylist?

971


I can't be bothered with cas. Can I turn it off?

1019


How do I know when my thread pool work item has completed?

1001


Explain element .net mobile with example? : Microsoft dot net mobile

1054


hi, kindly send WWF(.net 3.5) pdf notes to my id. thanx in advance, chays

2401


Different types of authentication modes in .net framework ?

1066


How does an appdomain get created?

1029