做CommunicationExceptions和/或TimeoutExceptions需要在服务实现中处理? (除了客户?)。客户超时会发生什么?服务是否继续处理消息,还是抛出异常?是否需要在WCF的服务器端处理CommunicationExceptions?
感谢
-Vic
例如做什么,我需要做下面的?
public MyServiceImpl:IMyService
{
void DoSomething()
{
try{
//Do something
}
catch (Communication exception){}
catch (Timeout exception){}
}
}
}