我有相同的签名合同的动作< T>
委托:
[的ServiceContract()]
接口ISomeService
{
[OperationContract的()]
无效DoSomething的(对象数据);
}
将客户端等待服务器端方法执行完成? 如果有,如何prevent呢? 我应该使用异步调用来实现我的目标是什么? 解决方案
查找到的单向操作的。
I have a contract in the same signature as an Action<T>
delegate:
[ServiceContract()]
interface ISomeService
{
[OperationContract()]
void DoSomething(object data);
}
Will the client wait for the server side method execution to finish? If yes, how to prevent this? Should I use async calls to achieve my goal?
解决方案
Look into one way operations.