How do I use eventtopic to fire an event now?

Topics: CAB & Smart Client Software Factory
Nov 15, 2005 at 7:51 PM
originally posted by: gamania

The new RTW bankteller looks much clean now..However, I have a problem after changing to 1.0 RTW version. Since IEventTopicCatalogService is no longer available, how do I dynamically create an eventtopic object, then fire it? The reason that I need this feature, because I have an XML file containing a navigation pane, which has the assocated eventtopic(action) information with it. If it's hard coded in the code, it will be a lot of hard coding work to be done. Thanks.
Nov 16, 2005 at 6:09 AM
originally posted by: BradWilsonMSFT

Event topics are available in a collection off of the WorkItem named EventTopics, like this:

myWorkItem.EventTopics"evt://My/Topic".Fire(...);