异步和同步通话 [英] asynchronous & synchronous call

查看:131
本文介绍了异步和同步通话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

谁能解释一下什么是异步&同步调用示例?

在此先感谢.
问候:
Ramesh

Hello there

Can any one please explain what is asynchronous & synchronous call with example ?

Thanks in Advance.
Regards:
Ramesh

推荐答案

非常简单.
通常,您从同步呼叫开始.这意味着我开始执行任务,然后等待任务完成.
异步时,您有一个开始和结束方法来执行任务.您启动了begintask,该任务可以在完成后立即调用endtask.当该任务运行(在单独的线程中)时,可以完成其他任务.

请参阅: http://msdn.microsoft.com/en-us/library/aa480516.aspx [ ^ ]
very simple.
normally you begin with synchronous calls. This means I start a task and wait for the completion of the task.
When going async you have a begin and an end method for a task. You start the begintask and that task can call the endtask as soon as it is finished. While that task runs (in a separate thread) other tasks can be done.

see: http://msdn.microsoft.com/en-us/library/aa480516.aspx[^]



以下链接将帮助您了解
异步&同步通话

谢谢
费萨尔
Hi,
Below link will help you to understand
asynchronous & synchronous call

Thanks
Faisal


这篇关于异步和同步通话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆