开发者

Is it nessary to call servicehost.close method before the host application ends

I am wondering if it is necessary to call se开发者_运维知识库rvicehost.close before the application ends?


I would use the close and I avoid a using block after reading this article

http://www.danrigsby.com/blog/index.php/2008/02/26/dont-wrap-wcf-service-hosts-or-clients-in-a-using-statement/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜