Geeks With Blogs
Brian Biales because blogging is just the easiest way to remember things April 2007 Entries
SCSF/CAB EventSubscription decoration's ThreadOption.UserInterface does not always work
I discovered an interesting issue while decorating an EventTopic subscription in my ModuleController for one of my modules. The decoration was like this: [EventSubscription(EventTop... ThreadOption.UserInterface)... void OnMsgReceived(object sender, EventArgs<Msg> ev) The event is fired on a non-UI thread, and I disovered this event handler was being called on that thread, NOT on the UserInterface thread as specified in the decoration. This decoration works fine in a ......

Posted On Thursday, April 12, 2007 12:15 PM

Copyright © Brian Biales | Powered by: GeeksWithBlogs.net