我有我从一个窗口服务调用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服务异步
设计服务合同