<?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 : Notification Service &amp; Timeout</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Notification Service &amp; Timeout</description>
  <pubDate>Wed, 22 Apr 2026 01:51:46 -700</pubDate>
  <lastBuildDate>Wed, 15 Feb 2012 17:06:03 -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=3267</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>Notification Service &amp; Timeout :  Hi pponzano,You can check for...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3267&amp;PID=12673#12673</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 3267<br /><strong>Posted:</strong> 15-Feb-2012 at 5:06pm<br /><br />Hi pponzano,<div><br></div><div>You can check for EntityServerError by registering to EntityManager.EntityServerError event before registering your callback.</div><div><br></div><div>I've attached a sample for Web.config and App.config. Look for &lt;wsDualHttpBinding&gt; under the &lt;bindings&gt; section. You can set 4 different timeouts there.</div><div><br></div><div><a href="uploads/912/sampleC&#111;nfigs.zip" target="_blank">uploads/912/sampleConfigs.zip</a><br></div><div><br></div><div>Hope this helps.</div>]]>
   </description>
   <pubDate>Wed, 15 Feb 2012 17:06:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3267&amp;PID=12673#12673</guid>
  </item> 
  <item>
   <title>Notification Service &amp; Timeout : Hello IdeaBlade,I&amp;#039;ve set...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3267&amp;PID=12668#12668</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1136" rel="nofollow">pponzano</a><br /><strong>Subject:</strong> 3267<br /><strong>Posted:</strong> 15-Feb-2012 at 8:29am<br /><br />Hello IdeaBlade,<br>I've set up a notification service on my WPF n-tier application, since some user have restricted policy on our customer's enviorment and cannot open specific port, is there a way of avoiding the client to attend the timeout?<br><br>I register to the Notification this way<br><br><div style="font-family: C&#111;nsolas; font-size: 10pt; color: black; : white;"><p style="margin: 0px;"><span style="color: blue;">public</span> <span style="color: blue;">void</span> RegisterCallBack(<span style="color: blue;">string</span> serviceTypeName, <span style="color: blue;">string</span> serviceMethodName, <span style="color: #2b91af;">Action</span>&lt;<span style="color: #2b91af;">SubscriptionOperation</span>&gt; callback, <span style="color: blue;">object</span> userToken, <span style="color: blue;">params</span> <span style="color: blue;">object</span>&#091;&#093; clientArgs)</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp;&nbsp; {</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; <span style="color: blue;">try</span></p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; {</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; Manager.RegisterCallback(serviceTypeName, serviceMethodName, callback, userToken, clientArgs);</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; }</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; <span style="color: blue;">catch</span> (<span style="color: #2b91af;">Exception</span> ex)</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; {</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; <span style="color: green;">//log</span></p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; }</p><p style="margin: 0px;">&nbsp;&nbsp;&nbsp;&nbsp; }</p></div>But this turns an exception after the timeout... is there a way of checking if it can register callback? otherwise is there a way of setting a timeout to 5 seconds? in the worst case the final user won't get the user notification but it's not a huge problem...<br>Thanks<br><br><br>]]>
   </description>
   <pubDate>Wed, 15 Feb 2012 08:29:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3267&amp;PID=12668#12668</guid>
  </item> 
 </channel>
</rss>