开发者

Are SOAP Remote Procedure Calls atomic blocking calls?

Using VB Express 2008, if the code makes 开发者_运维百科a Remote Procedure call to a SOAP function on another machine is the CPU blocked until the call returns?


If you are asking about

  1. calls to a web service from a client
  2. The client proxy classes are created using "Add Service Reference", or
  3. The client proxy classes are created using "Add Web Reference"

then the answer is that they do, by default, block the thread that makes the call. They don't block the "CPU". Only the thread that makes the call.

You can also call the same methods asynchronously, if you need to.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜