IFeed f = (IFeed) fmc.GetFeed("Internet Explorer Team Blog");
IFeedEvents_Event ife = (IFeedEvents_Event) f.GetWatcher(FEEDS_EVENTS_SCOPE.FES_ALL, FEEDS_EVENTS_MASK.FEM_FEEDEVENTS );
ife.FeedItemCountChanged += new IFeedEvents_FeedItemCountChangedEventHandler(ife_FeedItemCountChanged);
ife.FeedDownloadCompleted += new IFeedEvents_FeedDownloadCompletedEventHandler(ife_FeedDownloadCompleted);
f.Download();Now my code works. I was casting to an FeedsWatcherClass rather than the IFeedEvents_Event interface.Silly me.
Technorati Tags |
gotdotnet [feed], internet explorer [feed], interop [feed], interface [feed], c# [feed], COM [feed], Feed Management API [feed], rss [feed], feed [feed] |
Related Wikipedia Documents |
Internet Explorer, RSS (file format), .NET Framework, Interoperability, C Sharp, Component Object Model, COM |
Related Amazon Books |
User Interface Design for Programmers: View From Amazon UK/View From Amazon USA Designing the User Interface: View From Amazon UK/View From Amazon USA Essential COM: View From Amazon UK/View From Amazon USA Developing Feeds with RSS and Atom: View From Amazon UK/View From Amazon USA Syndicating Web Sites with RSS Feeds for Dummies (For Dummies S.): View From Amazon UK/View From Amazon USA Beginning RSS and Atom Programming: View From Amazon UK/View From Amazon USA Hacking RSS: View From Amazon UK/View From Amazon USA Filtering the Web to Feed Data Warehouses: View From Amazon UK/View From Amazon USA |
Related Images From Flickr |
[[posterous-content:ejrwGhFDdtiIsyzCoaEH]][[posterous-content:pmodtlGlCskDcGEtFCfk]][[posterous-content:yGtixaGfEbkdHnArFBwc]][[posterous-content:cCmrFjGGIfzgeGsrGGEC]] |