Click here to Skip to main content
15,890,882 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
C#
how do i handle fault exception in wcf, the message it was shows "the creator of fault did not specify any reason


What I have tried:

how do i handle fault exception in wcf, the message it was shows "the creator of fault did not specify any reason
Posted
Updated 28-Mar-16 9:01am

1 solution

I think you require to handle the FaultException<> in the application. This represents the fault in the SOAP protocol. This article covers a brief overview of handling this type of errors in WCF applications, A Beginner's Tutorial for Understanding Exception Handling, FaultExceptions and FaultContracts in WCF[^], give it a try.

FaultException Class (System.ServiceModel)[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900