<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Async property navigation and Exceptions</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2012 : Async property navigation and Exceptions</description>
  <pubDate>Thu, 14 May 2026 11:47:44 -700</pubDate>
  <lastBuildDate>Thu, 07 Nov 2013 17:49:50 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=4592</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Async property navigation and Exceptions : It would be ideal if the pending...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4592&amp;PID=17219#17219</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 4592<br /><strong>Posted:</strong> 07-Nov-2013 at 5:49pm<br /><br />It would be ideal if the pending entity API used the same async/await pattern as other asynchronous methods in DevForce, but we haven't implemented this yet.<DIV>&nbsp;</DIV><DIV>Right now, although it's ugly, you can check the Query in the EntityQueriedEventArgs - it will be an EntityRelationQuery for any navigation-based query.</DIV>]]>
   </description>
   <pubDate>Thu, 07 Nov 2013 17:49:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4592&amp;PID=17219#17219</guid>
  </item> 
  <item>
   <title>Async property navigation and Exceptions : Thanks, Kimj - that helps some.So...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4592&amp;PID=17217#17217</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1614" rel="nofollow">jbiddle61</a><br /><strong>Subject:</strong> 4592<br /><strong>Posted:</strong> 07-Nov-2013 at 2:27pm<br /><br />Thanks, Kimj - that helps some.<br><br>So I setup an EntityManagerDelegate to handle these.<br>So far, so good - if I deliberately cause a database error during async navigation, the event does get passed to my delegate.<br><br>The problem I now have is that need some was to determine if I want to handle the error in the delegate or allow it to be passed on.<br><br>Basically I need to be able to tell if the exception came from async property navigation or not.<br>If it comes from async property navigation, I want to handle the error in the delegate; otherwise I want to let the error continue on its merry way and handle it where I am awaiting the async call.<br><br>Is there some way to do that?<br>Or, better yet, is there some way to actually await the async property navigation?<br><br>]]>
   </description>
   <pubDate>Thu, 07 Nov 2013 14:27:55 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4592&amp;PID=17217#17217</guid>
  </item> 
  <item>
   <title>Async property navigation and Exceptions : Unfortunately the Pending*Resolved...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4592&amp;PID=17209#17209</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 4592<br /><strong>Posted:</strong> 06-Nov-2013 at 10:42am<br /><br />Unfortunately the Pending*Resolved event args don't contain error information, but you can listen on the EntityManager's Queried and&nbsp;EntityServerError events to receive error information.&nbsp; If you've also lost connectivity, the&nbsp;ConnectionStateChanged event will fire too.]]>
   </description>
   <pubDate>Wed, 06 Nov 2013 10:42:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4592&amp;PID=17209#17209</guid>
  </item> 
  <item>
   <title>Async property navigation and Exceptions : If I enable async property navigation...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4592&amp;PID=17208#17208</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1614" rel="nofollow">jbiddle61</a><br /><strong>Subject:</strong> 4592<br /><strong>Posted:</strong> 05-Nov-2013 at 4:26pm<br /><br />If I enable async property navigation in my EntityManagers (like TempHire), is there anyway to get notified of any exceptions that are thrown?<br><br>I have my database access through a web service (n-tier).<br>I set a breakpoint just before the access of the navigation property.<br>When the breakpoint is hit, I stop the web service, and let the program continue.<br>My PendingEntityResolved event handler never gets called (as expected), but there does not seem to be an exception raised either.<br><br>Is there anyway to detect database errors when using async property navigation?]]>
   </description>
   <pubDate>Tue, 05 Nov 2013 16:26:32 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4592&amp;PID=17208#17208</guid>
  </item> 
 </channel>
</rss>