<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>obd Issue Tracker Rss Feed</title><link>https://obd.codeplex.com/workitem/list/basic</link><description>obd Issue Tracker Rss Description</description><item><title>Closed Issue: Unhandled AggregateException when OBD connection fails in SkinSelector loaded event [15139]</title><link>http://obd.codeplex.com/workitem/15139</link><description>SkinSelector.xaml.cs, line 44 creates a task to connect to the COM port asynchronously, within a try-catch block. However, if the Connect call fails it will happen in the context of the Task, not the loaded event so the AggregateException will not be caught and an unhandled IOException will kill the process.&lt;br /&gt;&lt;br /&gt;Recommend using a continuation instead&amp;#58;&lt;br /&gt;&lt;br /&gt;                    Task.Factory.StartNew&amp;#40;&amp;#40;&amp;#41; &amp;#61;&amp;#62; _obd.Connect&amp;#40;Properties.Settings.Default.ComPort, Properties.Settings.Default.Baud, ObdDevice.UnknownProtocol, true&amp;#41;&amp;#41;&lt;br /&gt;                        .ContinueWith&amp;#40;action &amp;#61;&amp;#62;&lt;br /&gt;                        &amp;#123;&lt;br /&gt;                            Exception ex &amp;#61; action.Exception.Flatten&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;                            SetMessage&amp;#40;&amp;#34;Unable to connect to OBD device&amp;#58; &amp;#34; &amp;#43; ex.Message&amp;#41;&amp;#59;&lt;br /&gt;                            Debug.WriteLine&amp;#40;ex&amp;#41;&amp;#59;&lt;br /&gt;                        &amp;#125;, TaskContinuationOptions.OnlyOnFaulted&amp;#41;&amp;#59;&lt;br /&gt;Comments: &lt;p&gt;Change checked into source control.&lt;/p&gt;</description><author>peekb</author><pubDate>Fri, 11 May 2012 22:09:15 GMT</pubDate><guid isPermaLink="false">Closed Issue: Unhandled AggregateException when OBD connection fails in SkinSelector loaded event [15139] 20120511100915P</guid></item><item><title>Commented Issue: Unhandled AggregateException when OBD connection fails in SkinSelector loaded event [15139]</title><link>http://obd.codeplex.com/workitem/15139</link><description>SkinSelector.xaml.cs, line 44 creates a task to connect to the COM port asynchronously, within a try-catch block. However, if the Connect call fails it will happen in the context of the Task, not the loaded event so the AggregateException will not be caught and an unhandled IOException will kill the process.&lt;br /&gt;&lt;br /&gt;Recommend using a continuation instead&amp;#58;&lt;br /&gt;&lt;br /&gt;                    Task.Factory.StartNew&amp;#40;&amp;#40;&amp;#41; &amp;#61;&amp;#62; _obd.Connect&amp;#40;Properties.Settings.Default.ComPort, Properties.Settings.Default.Baud, ObdDevice.UnknownProtocol, true&amp;#41;&amp;#41;&lt;br /&gt;                        .ContinueWith&amp;#40;action &amp;#61;&amp;#62;&lt;br /&gt;                        &amp;#123;&lt;br /&gt;                            Exception ex &amp;#61; action.Exception.Flatten&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;                            SetMessage&amp;#40;&amp;#34;Unable to connect to OBD device&amp;#58; &amp;#34; &amp;#43; ex.Message&amp;#41;&amp;#59;&lt;br /&gt;                            Debug.WriteLine&amp;#40;ex&amp;#41;&amp;#59;&lt;br /&gt;                        &amp;#125;, TaskContinuationOptions.OnlyOnFaulted&amp;#41;&amp;#59;&lt;br /&gt;Comments: ** Comment from web user: peekb ** &lt;p&gt;Good call.  I&amp;#39;ll see if I can wedge it in there.  Thanks&amp;#33;&lt;/p&gt;</description><author>peekb</author><pubDate>Thu, 10 May 2012 18:29:43 GMT</pubDate><guid isPermaLink="false">Commented Issue: Unhandled AggregateException when OBD connection fails in SkinSelector loaded event [15139] 20120510062943P</guid></item><item><title>Created Issue: Unhandled AggregateException when OBD connection fails in SkinSelector loaded event [15139]</title><link>http://obd.codeplex.com/workitem/15139</link><description>SkinSelector.xaml.cs, line 44 creates a task to connect to the COM port asynchronously, within a try-catch block. However, if the Connect call fails it will happen in the context of the Task, not the loaded event so the AggregateException will not be caught and an unhandled IOException will kill the process.&lt;br /&gt;&lt;br /&gt;Recommend using a continuation instead&amp;#58;&lt;br /&gt;&lt;br /&gt;                    Task.Factory.StartNew&amp;#40;&amp;#40;&amp;#41; &amp;#61;&amp;#62; _obd.Connect&amp;#40;Properties.Settings.Default.ComPort, Properties.Settings.Default.Baud, ObdDevice.UnknownProtocol, true&amp;#41;&amp;#41;&lt;br /&gt;                        .ContinueWith&amp;#40;action &amp;#61;&amp;#62;&lt;br /&gt;                        &amp;#123;&lt;br /&gt;                            Exception ex &amp;#61; action.Exception.Flatten&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;                            SetMessage&amp;#40;&amp;#34;Unable to connect to OBD device&amp;#58; &amp;#34; &amp;#43; ex.Message&amp;#41;&amp;#59;&lt;br /&gt;                            Debug.WriteLine&amp;#40;ex&amp;#41;&amp;#59;&lt;br /&gt;                        &amp;#125;, TaskContinuationOptions.OnlyOnFaulted&amp;#41;&amp;#59;&lt;br /&gt;</description><author>sfiorito</author><pubDate>Thu, 10 May 2012 03:38:13 GMT</pubDate><guid isPermaLink="false">Created Issue: Unhandled AggregateException when OBD connection fails in SkinSelector loaded event [15139] 20120510033813A</guid></item></channel></rss>