I have an event source which derives from EventSource
, and an event listener which derives from EventListener.
I call the event listener EnableEvents
passing in the EventKeywords parameter, but the listener also gets called for any events with no Keywords.
Is this expected behaviour, and what workaround is there (apart from inventing dummy keywords for all my events?)
Yes, that is expected behavior, that is partially covered here.
You can: