﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-bihpgh20-最新评论</title><link>http://www.cnblogs.com/bihpgh20/CommentsRSS.aspx</link><description /><language>zh-cn</language><pubDate>Fri, 05 Oct 2007 13:53:41 GMT</pubDate><lastBuildDate>Fri, 05 Oct 2007 13:53:41 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: What limit my connections?</title><link>http://www.cnblogs.com/bihpgh20/archive/2007/10/17/563483.html#927705</link><dc:creator>江南白衣</dc:creator><author>江南白衣</author><pubDate>Wed, 17 Oct 2007 07:57:00 GMT</pubDate><guid>http://www.cnblogs.com/bihpgh20/archive/2007/10/17/563483.html#927705</guid><description><![CDATA[&lt;endpoint address=&quot;MEX&quot; binding=&quot;mexTcpBinding&quot; contract=&quot;IMetadataExchange&quot; /&gt;<br><br>把mexTcpBinding改个不一样的端口<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/bihpgh20/" target="_blank">江南白衣</a> 2007-10-17 15:57 <a href="http://www.cnblogs.com/bihpgh20/archive/2007/10/17/563483.html#927705#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Exception Handling Application Block与WCF</title><link>http://www.cnblogs.com/bihpgh20/archive/2007/10/08/914797.html#916611</link><dc:creator>Clark Zheng</dc:creator><author>Clark Zheng</author><pubDate>Mon, 08 Oct 2007 01:38:00 GMT</pubDate><guid>http://www.cnblogs.com/bihpgh20/archive/2007/10/08/914797.html#916611</guid><description><![CDATA[尖端科技，收藏先吧<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/bihpgh20/" target="_blank">Clark Zheng</a> 2007-10-08 09:38 <a href="http://www.cnblogs.com/bihpgh20/archive/2007/10/08/914797.html#916611#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Exception Handling Application Block与WCF</title><link>http://www.cnblogs.com/bihpgh20/archive/2007/10/06/914797.html#915327</link><dc:creator>w</dc:creator><author>w</author><pubDate>Sat, 06 Oct 2007 06:00:00 GMT</pubDate><guid>http://www.cnblogs.com/bihpgh20/archive/2007/10/06/914797.html#915327</guid><description><![CDATA[学习学习。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/bihpgh20/" target="_blank">w</a> 2007-10-06 14:00 <a href="http://www.cnblogs.com/bihpgh20/archive/2007/10/06/914797.html#915327#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Exception Handling Application Block与WCF</title><link>http://www.cnblogs.com/bihpgh20/archive/2007/10/05/914797.html#915022</link><dc:creator>Ray_bihpgh20</dc:creator><author>Ray_bihpgh20</author><pubDate>Fri, 05 Oct 2007 15:38:00 GMT</pubDate><guid>http://www.cnblogs.com/bihpgh20/archive/2007/10/05/914797.html#915022</guid><description><![CDATA[感谢简爱的建议，我想简爱的InvokeMyMethod指的就是我的Divide方法，是不？<br>感觉简爱小姐的第一种写法比较简洁，谢谢。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/bihpgh20/" target="_blank">Ray_bihpgh20</a> 2007-10-05 23:38 <a href="http://www.cnblogs.com/bihpgh20/archive/2007/10/05/914797.html#915022#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Exception Handling Application Block与WCF</title><link>http://www.cnblogs.com/bihpgh20/archive/2007/10/05/914797.html#914870</link><dc:creator>简爱</dc:creator><author>简爱</author><pubDate>Fri, 05 Oct 2007 10:52:00 GMT</pubDate><guid>http://www.cnblogs.com/bihpgh20/archive/2007/10/05/914797.html#914870</guid><description><![CDATA[try{<br>       ChannelFactory&lt;Imath&gt; factory=new ChannelFactory&lt;Imath&gt;();<br>       mathProxy=factory.CreateChannel();<br>}<br>.<br>.<br>finally{<br>       IChannel channel=mathProxy as IChannel;<br>....}<br><br><br>既然factory.CreateChanel()方法创造的是通道对象,它当然实现了IChannel接口,我觉得没必要这样显示声明了,可以这样释放通道对象<br>Imath mathProxy=factory.CreateChannel();<br>using(mathProxy as IDisposable)<br>{<br>mathProxy.InvokeMyMethod();<br>}<br>或者<br>Imath mathProxy=factory.CreateChannel();<br>mathProxy.InvokeMyMethod();<br>ICommunicationObject channel=mathProxy as ICommunicationObject;<br>channel.close():<br>另外,支持博主!<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/bihpgh20/" target="_blank">简爱</a> 2007-10-05 18:52 <a href="http://www.cnblogs.com/bihpgh20/archive/2007/10/05/914797.html#914870#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Exception Handling Application Block与WCF</title><link>http://www.cnblogs.com/bihpgh20/archive/2007/10/05/914797.html#914824</link><dc:creator>高海东</dc:creator><author>高海东</author><pubDate>Fri, 05 Oct 2007 09:26:00 GMT</pubDate><guid>http://www.cnblogs.com/bihpgh20/archive/2007/10/05/914797.html#914824</guid><description><![CDATA[不错 ，我们也用这个开发<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/bihpgh20/" target="_blank">高海东</a> 2007-10-05 17:26 <a href="http://www.cnblogs.com/bihpgh20/archive/2007/10/05/914797.html#914824#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
