无法使用简单的方法返回异步调用的结果。
There's no easy way to return the result of an asynchronous call.
如果从上述“WSDL -代码-生成”方法开始,您可以要求代码生成器启用对服务的异步调用。
If you're starting with the WSDL-code-generation method described above, you can ask the code generator to enable asynchronous invocations to your service.
异步调用的返回值可以通过EndInvoke方法回收。
The return value of an asynchronous call can be recovered by calling the EndInvoke method.
应用推荐