I have some WCF services with predefined FaultContract
attributes. When the FaultException<TDetail>
exceptions are thrown, they're sending StackTrace, Source and other potentially unsave information.
Is it possible to return only:
- Detail (from the generic TDetail)
- FaultMessage
- FaultCode
- (and possibly) FaultReason