在启动WCF服务时调用方法 [英] Invoking a method when WCF service is started
本文介绍了在启动WCF服务时调用方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在WCF服务开始托管时调用一个方法,告诉我实现这个的程序。
提前致谢。
Hi,
I want ot invoking a method when a WCF service is started hosting, tell me the procedure to achive this.
Thanks in advance.
推荐答案
试试 ServiceHost.Opened 事件。
这篇关于在启动WCF服务时调用方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文