如何异步调用我的 WCF 服务? [英] How to make a call to my WCF service asynchronous?
本文介绍了如何异步调用我的 WCF 服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个从 Windows 服务调用的 WCF 服务.
I have a WCF service that I call from a windows service.
WCF 服务运行一个 SSIS 包,该包可能需要一段时间才能完成,我不希望我的 Windows 服务不得不等待它完成.
The WCF service runs a SSIS package, and that package can take a while to complete and I don't want my windows service to have to wait around for it to finish.
如何使我的 WCF 服务调用异步?(或者默认是异步的?)
How can I make my WCF service call asynchronous? (or is it asynchronous by default?)
推荐答案
以下 MSDN 文章将满足您的所有需求:
All your needs will be satisfied in the following articles from MSDN:
这篇关于如何异步调用我的 WCF 服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文