This is my usecase to raise custom fault exception with error code and description in WCF.
new FaultException<CustomFaultException<CustomFaultExceptionCode>>(
new CustomFaultException<CustomFaultExceptionCode>(
ErrorCode, ErrorMessage);
How to initialize the object at runtime?
Aucun commentaire:
Enregistrer un commentaire