Tag Archives: Custom type Fault Exception

Use of Fault Contract in WCF Service

In WCF Service, errors or exceptions can be passed to the Client (WCF Service Consumer) by using FaultContract. It’s very simple in Asp.Net by adding the Try & Catch blocks. But when you come to the WCF Service, if any unexpected error occurred (like SQL server down/Unavailability of data/Divide By Zero) in service, then error/exception… Read More »