<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Programming with .NET - General</title><link>http://forums.silverlight.net/forums/17.aspx</link><description>General discussions around authoring Silverlight .NET applications.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Call webService in Timer event?</title><link>http://forums.silverlight.net/forums/thread/36929.aspx</link><pubDate>Thu, 13 Mar 2008 22:19:10 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:36929</guid><dc:creator>jackbond</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/36929.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=36929</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;Nokola:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;hope you don&amp;#39;t mind&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Not at all, thanks for clarifying.&lt;/p&gt;</description></item><item><title>Re: Call webService in Timer event?</title><link>http://forums.silverlight.net/forums/thread/36923.aspx</link><pubDate>Thu, 13 Mar 2008 22:03:17 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:36923</guid><dc:creator>Nokola</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/36923.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=36923</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;jackbond:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;Nokola:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;DispatcherTimer is probably preferred (easier to read) in this case.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;I saw your post here and your blog entry. They&amp;#39;re a little confusing as you are creating a Timer with the sole purpose of invoking on the ui thread, which is basically the DispatcherTimer&amp;#39;s job.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your comment. I agree that DispatcherTimer is better for ontimer events, and also updated this on my blog. btw, I also referenced back to you and this forum for more clarification, hope you don&amp;#39;t mind. &lt;/p&gt;
&lt;p&gt;DispatcherTimer timer = new DispatcherTimer();&lt;br /&gt;timer.Interval = new TimeSpan(1000);&lt;br /&gt;timer.Tick += new EventHandler(timer_Tick);&lt;br /&gt;timer.Start();&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Call webService in Timer event?</title><link>http://forums.silverlight.net/forums/thread/36916.aspx</link><pubDate>Thu, 13 Mar 2008 21:50:16 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:36916</guid><dc:creator>jackbond</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/36916.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=36916</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;Nokola:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;DispatcherTimer is probably preferred (easier to read) in this case.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;I saw your post here and your blog entry. They&amp;#39;re a little confusing as you are creating a Timer with the sole purpose of invoking on the ui thread, which is basically the DispatcherTimer&amp;#39;s job.&lt;/p&gt;</description></item><item><title>Re: Call webService in Timer event?</title><link>http://forums.silverlight.net/forums/thread/36913.aspx</link><pubDate>Thu, 13 Mar 2008 21:39:45 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:36913</guid><dc:creator>Nokola</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/36913.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=36913</wfw:commentRss><description>&lt;p&gt;DispatcherTimer is probably preferred (easier to read) in this case. The Dispatcher.BeginInvoke is the usual &amp;quot;invoke on UI thread&amp;#39; code that I use so it came first to mind.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: Call webService in Timer event?</title><link>http://forums.silverlight.net/forums/thread/36912.aspx</link><pubDate>Thu, 13 Mar 2008 21:39:29 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:36912</guid><dc:creator>yelong</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/36912.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=36912</wfw:commentRss><description>&lt;p&gt;i&amp;#39;m not a SL expert. i didn&amp;#39;t know DispatcherTimer&amp;nbsp;&lt;img src="http://silverlight.net/emoticons/emotion-10.gif" alt="Embarrassed" /&gt; . now i&amp;#39;m using it.&lt;/p&gt;&lt;p&gt;&amp;nbsp;thanks,&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Call webService in Timer event?</title><link>http://forums.silverlight.net/forums/thread/36907.aspx</link><pubDate>Thu, 13 Mar 2008 21:30:33 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:36907</guid><dc:creator>jackbond</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/36907.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=36907</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;Nokola:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;&lt;span style="FONT-SIZE:8pt;COLOR:#2b91af;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;Action&lt;/span&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt; _onTimerAction = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:#2b91af;"&gt;Action&lt;/span&gt;(OnTimer);&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:8pt;COLOR:#2b91af;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;Timer&lt;/span&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt; _timer = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:#2b91af;"&gt;Timer&lt;/span&gt;(&lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:#2b91af;"&gt;TimerCallback&lt;/span&gt;(&lt;span style="COLOR:blue;"&gt;delegate&lt;/span&gt;(&lt;span style="COLOR:blue;"&gt;object&lt;/span&gt; action)&lt;/span&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { Dispatcher.BeginInvoke(_onTimerAction); }), &lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;, 0, 3000);&lt;/span&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:8pt;COLOR:blue;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;private&lt;/span&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt; &lt;span style="COLOR:blue;"&gt;void&lt;/span&gt; OnTimer()&lt;/span&gt; 
&lt;p&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="FONT-SIZE:8pt;COLOR:green;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;// call web service/update UI here&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:8pt;COLOR:green;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;}&lt;/span&gt;&amp;nbsp; &lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I may be missing something here, but if you want an event to fire on the UI thread, why wouldn&amp;#39;t you just use a DispatcherTimer?&lt;/p&gt;</description></item><item><title>Re: Re: Call webService in Timer event?</title><link>http://forums.silverlight.net/forums/thread/36901.aspx</link><pubDate>Thu, 13 Mar 2008 21:09:33 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:36901</guid><dc:creator>yelong</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/36901.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=36901</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;this is a good one. using Action instead backgroundworker.&lt;/p&gt;&lt;p&gt;&amp;nbsp;thank you, Nokola.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: Call webService in Timer event?</title><link>http://forums.silverlight.net/forums/thread/36900.aspx</link><pubDate>Thu, 13 Mar 2008 21:09:30 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:36900</guid><dc:creator>Nokola</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/36900.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=36900</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;yelong:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;how to call from ui thread?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Using the Dispatcher, this is one way to do it:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;this.Dispatcher.BeginInvoke(new Action(MyFunction));&lt;br /&gt;private void MyFunction()&lt;br /&gt;{&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //... insert code here ...&amp;nbsp;&lt;br /&gt;}&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;this&amp;quot; is the Page object in this case. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: Call webService in Timer event?</title><link>http://forums.silverlight.net/forums/thread/36896.aspx</link><pubDate>Thu, 13 Mar 2008 21:01:16 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:36896</guid><dc:creator>yelong</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/36896.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=36896</wfw:commentRss><description>&lt;p&gt;how to call from ui thread?&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks,&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Call webService in Timer event?</title><link>http://forums.silverlight.net/forums/thread/36893.aspx</link><pubDate>Thu, 13 Mar 2008 20:59:19 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:36893</guid><dc:creator>Nokola</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/36893.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=36893</wfw:commentRss><description>&lt;p&gt;Another way to do it is to use the Dispatcher, so you don&amp;#39;t have to create an extra background worker&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:8pt;COLOR:#2b91af;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;Action&lt;/span&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt; _onTimerAction = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:#2b91af;"&gt;Action&lt;/span&gt;(OnTimer);&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:8pt;COLOR:#2b91af;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;Timer&lt;/span&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt; _timer = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:#2b91af;"&gt;Timer&lt;/span&gt;(&lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:#2b91af;"&gt;TimerCallback&lt;/span&gt;(&lt;span style="COLOR:blue;"&gt;delegate&lt;/span&gt;(&lt;span style="COLOR:blue;"&gt;object&lt;/span&gt; action)&lt;/span&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { Dispatcher.BeginInvoke(_onTimerAction); }), &lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;, 0, 3000);&lt;/span&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:8pt;COLOR:blue;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;private&lt;/span&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt; &lt;span style="COLOR:blue;"&gt;void&lt;/span&gt; OnTimer()&lt;/span&gt; 
&lt;p&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="FONT-SIZE:8pt;COLOR:green;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;// call web service/update UI here&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:8pt;COLOR:green;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:8pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;}&lt;/span&gt;&amp;nbsp; 
&lt;p&gt;&amp;nbsp;More info: &lt;a href="http://blogs.msdn.com/nikola/archive/2008/03/13/calling-web-services-and-accessing-ui-from-timer-event-in-silverlight.aspx"&gt;http://blogs.msdn.com/nikola/archive/2008/03/13/calling-web-services-and-accessing-ui-from-timer-event-in-silverlight.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Call webService in Timer event?</title><link>http://forums.silverlight.net/forums/thread/36892.aspx</link><pubDate>Thu, 13 Mar 2008 20:55:03 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:36892</guid><dc:creator>jackbond</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/36892.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=36892</wfw:commentRss><description>&lt;p&gt;You&amp;#39;re getting the same effect there since the backgroundworker invokes it&amp;#39;s completed event on the ui thread. But unless you&amp;#39;re actually doing background work, you&amp;#39;ve added unnecessary complexity to your code. Is your only goal to call a web service on a set interval?&lt;/p&gt;</description></item><item><title>Re: Call webService in Timer event?</title><link>http://forums.silverlight.net/forums/thread/36887.aspx</link><pubDate>Thu, 13 Mar 2008 20:12:28 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:36887</guid><dc:creator>yelong</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/36887.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=36887</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;thanks,&lt;/p&gt;&lt;p&gt;&amp;nbsp;i got another workaround.&lt;br /&gt;&lt;br /&gt;add a backgroundworker, timer calls this backgroundworker. the backgroundworker&amp;#39;s completed event calls webservice function.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Call webService in Timer event?</title><link>http://forums.silverlight.net/forums/thread/36884.aspx</link><pubDate>Thu, 13 Mar 2008 20:04:14 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:36884</guid><dc:creator>jackbond</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/36884.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=36884</wfw:commentRss><description>&lt;p&gt;What kind of Timer are you using? You probably should be using a DispatcherTimer. I&amp;#39;m not even sure if you can call web services from a non UI thread, but from&amp;nbsp;the looks of the error you are receiving, you probably can&amp;#39;t.&lt;/p&gt;</description></item><item><title>Call webService in Timer event?</title><link>http://forums.silverlight.net/forums/thread/36838.aspx</link><pubDate>Thu, 13 Mar 2008 16:37:10 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:36838</guid><dc:creator>yelong</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/36838.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=36838</wfw:commentRss><description>&lt;p&gt;got the error: Invalid cross-thread access&amp;nbsp;&lt;/p&gt;&lt;p&gt;any help?&lt;/p&gt;&lt;p&gt;thanks&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>