All-Star
53711 Points
24038 Posts
Aug 09, 2019 05:06 PM|mgebhard|LINK
The common approach is returning a custom soap exception. The official WCF documentation covers the details.
https://docs.microsoft.com/en-us/dotnet/framework/wcf/sending-and-receiving-faults
https://docs.microsoft.com/en-us/dotnet/framework/wcf/specifying-and-handling-faults-in-contracts-and-services
All-Star
53711 Points
24038 Posts
Re: CustomError class
Aug 09, 2019 05:06 PM|mgebhard|LINK
The common approach is returning a custom soap exception. The official WCF documentation covers the details.
https://docs.microsoft.com/en-us/dotnet/framework/wcf/sending-and-receiving-faults
https://docs.microsoft.com/en-us/dotnet/framework/wcf/specifying-and-handling-faults-in-contracts-and-services