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 |
Whats new features in Visual Studio 2012?
What is different about namespace declaration when comparing that to package declaration in java?
Explain about metadata?
Why the config file might not be writable
Explain the Lapsed Listener problem in .net
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?
What does the term "green architecture" mean? : Dot net architecture
does .NET support multiple inheritance ?
Explain what does the term "green architecture" mean? : Dot net architecture
Why should hire you in company
Difference between type constructor and instance constructor?
What is parallel computing?