This project has moved. For the latest updates, please go here.

project dead

Sep 29, 2015 at 7:20 PM
any good patterns and practices about FaultExceptions and Wcf Error Handling ?

any good patterns and practices about it ?

An example of handling errors at the client:



try

{

proxy.SomeOperation();

}

catch (FaultException<MyFaultInfo> ex)

{

// only if a fault contract was specified

}

catch (FaultException ex)

{

// any other faults

}

catch (CommunicationException ex)

{

// any communication errors?

}