<?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 : Custom ServiceProxyEvents for setting Timeout</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Custom ServiceProxyEvents for setting Timeout</description>
  <pubDate>Mon, 13 Apr 2026 02:21:14 -700</pubDate>
  <lastBuildDate>Thu, 22 Mar 2012 16:38:21 -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=3346</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>Custom ServiceProxyEvents for setting Timeout :   Hi viola,Apparently, after...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3346&amp;PID=13073#13073</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3346<br /><strong>Posted:</strong> 22-Mar-2012 at 4:38pm<br /><br />Hi viola,<div>&nbsp;</div><div>Apparently, after the binding is used your changed configurations will not take any effect. (<a href="http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/b851a558-0afd-4dfb-b9cf-941668868828/" target="_blank">http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/b851a558-0afd-4dfb-b9cf-941668868828/</a>)</div><div>&nbsp;</div><div>For the second issue you described, can you clarify? What is the full exception message you are getting?</div><div>&nbsp;</div><div>Also, there is a topic in the <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/understand-timeouts" target="_blank">DevForce Resource Center</a> that explains how to handle timeouts.</div><div>&nbsp;</div><div>Regards,</div><div>&nbsp;&nbsp; Silvio.</div>]]>
   </description>
   <pubDate>Thu, 22 Mar 2012 16:38:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3346&amp;PID=13073#13073</guid>
  </item> 
  <item>
   <title>Custom ServiceProxyEvents for setting Timeout : The latest, 6.1.6. </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3346&amp;PID=13042#13042</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=424" rel="nofollow">viola</a><br /><strong>Subject:</strong> 3346<br /><strong>Posted:</strong> 20-Mar-2012 at 7:26pm<br /><br />The latest, 6.1.6.]]>
   </description>
   <pubDate>Tue, 20 Mar 2012 19:26:04 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3346&amp;PID=13042#13042</guid>
  </item> 
  <item>
   <title>Custom ServiceProxyEvents for setting Timeout :   Hi Viola,What version of DevForce...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3346&amp;PID=13034#13034</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3346<br /><strong>Posted:</strong> 20-Mar-2012 at 11:34am<br /><br />Hi Viola,<div>&nbsp;</div><div>What version of DevForce are you using?</div><div>&nbsp;</div><div>Regards,</div><div>&nbsp;&nbsp; Silvio.</div>]]>
   </description>
   <pubDate>Tue, 20 Mar 2012 11:34:29 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3346&amp;PID=13034#13034</guid>
  </item> 
  <item>
   <title>Custom ServiceProxyEvents for setting Timeout :   Hi,As i read this article...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3346&amp;PID=13026#13026</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=424" rel="nofollow">viola</a><br /><strong>Subject:</strong> 3346<br /><strong>Posted:</strong> 19-Mar-2012 at 11:32pm<br /><br /><div>Hi,</div><div>&nbsp;</div><div>As i read this article and learnt how timeout can be reset - </div><div><a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/code-sample-custom-client-c&#111;nfigurati&#111;n" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-custom-client-configuration</a></div><div>I'd like to know whether it is possible to customize the settings programmatically within different scope?&nbsp;For instance, </div><div>&nbsp;</div><div>TimeSpan originalTimeOut = endpoint.Binding.SendTimeout;</div><div>try</div><div>{</div><blockquote style="margin-right: 0px;" dir="ltr"><div>{// scope 1, for operation 1</div><div>&nbsp;&nbsp;&nbsp; endpoint.Binding.SendTimeout = timeoutBigVal;</div><div>&nbsp;&nbsp;&nbsp; DoSomeWorkThatTakesVeryLong();</div><div>}&nbsp;</div><div><div>{// scope 2, for operation 2</div><div>   &nbsp;&nbsp;&nbsp;&nbsp; endpoint.Binding.SendTimeout = timeoutSmallVal;</div><div>   &nbsp;&nbsp;&nbsp;&nbsp; DoSomeOtherWorkNotVeryTimeConsuming();</div><div>}</div></div></blockquote><div>}</div><div>finally</div><div>{// then set back for all other methods to go as usual</div><div>&nbsp;&nbsp;&nbsp; endpoint.Binding.SendTimeout = originalTimeOut;</div><div>}</div><div>&nbsp;</div><div>Also, I'd like to confirm this behavior because I&nbsp;noticed that setting "endpoint.Binding.SendTimeout" in code(CustomServiceProxyEvents:OnEndpointCreated) is not&nbsp;the equivalent to&nbsp;setting&nbsp;only the&nbsp;&nbsp;SendTimeout ="&lt;value&gt;" in config file. Because the former worked for my simulation but the later failed with an exception about "client channel timeout". So internally this SendTimeout for the binding in code will overwrite the different operationTime of&nbsp;client channel&nbsp;too? Please explain. Thanks a lot!&nbsp;</div>]]>
   </description>
   <pubDate>Mon, 19 Mar 2012 23:32:04 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3346&amp;PID=13026#13026</guid>
  </item> 
 </channel>
</rss>