摘要:
1.第一种情况 百度上找到了这篇文章 http://blog.sina.com.cn/s/blog_6b44b2ba01016j0z.html 讲的是使用了using用完之后就释放了,得到启发,仔细检查了Host的代码 对比了Learning WCF第一章中的示例代码,发现用try finally来 阅读全文
posted @ 2015-07-17 10:43
ChuckLu
阅读(1938)
评论(0)
推荐(0)
摘要:
Exception Handling Statements (C# Reference) C# provides built-in support for handling anomalous situations, known as exceptions, which may occur duri 阅读全文
posted @ 2015-07-17 10:37
ChuckLu
阅读(392)
评论(0)
推荐(0)
摘要:
主体代码如下 IServiceA proxyA; ChannelFactory factoryA = new ChannelFactory(); proxyA = factoryA.CreateChannel();仔细检查后发现上面的ChannelFactory的构造函数,忘记传递参数了IServ... 阅读全文
posted @ 2015-07-17 10:05
ChuckLu
阅读(1729)
评论(0)
推荐(0)
摘要:
Six important .NET concepts: Stack, heap, value types, reference types, boxing, and unboxing 阅读全文
posted @ 2015-07-17 00:38
ChuckLu
阅读(205)
评论(0)
推荐(0)

浙公网安备 33010602011771号