WCF fault handling
问题 Q How can I get the original exception (occurred on the server) on the client side? I am working with a self-hosted WCF service and C# 4 and trying to set up proper exception handling. I have a client that looks like this private ServiceResponse PerformRemoteAction(ServiceRequest request, ProcessOperations operation) { ... try { //remote call switch (operation) { ... case ProcessOperations.VerifyAction: { response = client.VerifyAction(request); break; } default: throw new