My WCF service has various methods that return integers, strings, lists, and streams. I'd like to add a string or enum or ??? Indicating the status of the call upon completion. It could be as simple as a bool indicating success or failure.I'm not sure yet. The question is, how do I implement this ? Should I specify an out parameter in the signature ? Is there a better, more commonly used way to accomplish this ?
update 1 If an exception occurs, it will be handled, logged, etc. One scenario that comes to mind is when a user submits something for which there is no result to return. For example, the state abbreviation of ZZ will return nothing but I still want to indicate the method ran successfully.