如果从上述“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.
当使用了异步调用,而调用的任务需要查找所调用任务在特定位置生成的输出才能够继续后续操作时,这种方法是特别重要的。
This is especially important when asynchronous invocation is used where the calling task has to look for the output of the called task appearing at a particular location to continue further.
当验证方法被调用时,对服务器的异步调用将被触发。
The asynchronous call to the server will be triggered when the validate method is called.
引用限定符可以指定异步调用的可靠性,以及是否应该联合目标组件的方法,使之成为任何客户端事务的一部分。
Reference qualifiers can specify asynchronous invocation reliability, and whether a target component's methods should be federated as part of any client transaction.
可以通过调用API中的不同方法来使用WSIF客户机进行异步调用。
The same WSIF client can be used for asynchronous invoke by invoking a different method in the API.
当从单元测试中返回一个doh.Deferred对象时,必须捕获异步调用中产生的所有错误信息并把它们传递给对象的errback方法。
When a doh.Deferred object is returned from a unit test, you must catch all errors from the asynch call and pass them to the object's errback method.
使用回调处理程序异步调用代理上的方法。
Invoke the method on the proxy asynchronously with callback handler.
References:指定了异步调用的可靠性,以及一个目标组件的方法是否应该被组合成客户端事务的一部分。
References: These specify the reliability for asynchronous invocations and whether a target component's methods should be federated as part of any client transaction.
异步调用代理上的方法。
确定WCF服务的方法是同步调用(默认)还是异步调用。
Determines whether WCF service methods will be called synchronously (the default) or asynchronously.
异步调用指定的方法。
我一直工作在异步调用,我发现一个方法的异步版本运行于同步版本慢得多。
I have been working on Async calls and I found that the Async version of a method is running much slower than the sync version.
进一步的说,委托方法在你选择的调度队列上都是异步调用的。
Further, the delegate methods are all invoked asynchronously onto a dispatch_queue of your choosing.
进一步的说,委托方法在你选择的调度队列上都是异步调用的。
Further, the delegate methods are all invoked asynchronously onto a dispatch_queue of your choosing.
应用推荐