Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event Notification
Message
From
01/12/2010 16:31:42
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Environment versions
Environment:
C# 4.0
Application:
Desktop
Miscellaneous
Thread ID:
01491399
Message ID:
01491454
Views:
40
>>OK, thanks to all.. Just to be sure I understand, if I subscribe to the exact same event and wire it to the exact same handler more than once, it would be basically subscribed twice. And if I unsubscribe it once, then it would still be subscribed because it was subscribed more than the one time.
>>
>
>Yes. Just understand that if it's hooked up more than once it will get called once for each subscription.

Ugh! Not what I would want unless it only gets called once if only raised by one class that raised it. If that is the case, I will need to do some work in my method to prevent it from doing more than I want.
Thanks
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform