Explain the Lapsed Listener problem in .net



Explain the Lapsed Listener problem in .net..

Answer / 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

More Dot Net AllOther Interview Questions

Whats new features in Visual Studio 2012?

1 Answers   B-Ways TecnoSoft,


What is different about namespace declaration when comparing that to package declaration in java?

1 Answers  


Explain about metadata?

1 Answers  


Why the config file might not be writable

1 Answers  


Explain the Lapsed Listener problem in .net

1 Answers   HCL,


2. I've a class Parent Class A and a Derived Class B. Here is a scenario. I've an instance of Class A as objA and an instance of Class B as objB. I can refer a child class variable as objB=objA, but cannot do objA=objB what is the reason?

2 Answers   247Customer,


What does the term "green architecture" mean? : Dot net architecture

1 Answers  


does .NET support multiple inheritance ?

13 Answers   Ness Technologies,


Explain what does the term "green architecture" mean? : Dot net architecture

1 Answers  


Why should hire you in company

1 Answers   Concentrix,


Difference between type constructor and instance constructor?

1 Answers  


What is parallel computing?

1 Answers  


Categories