c# - How to catch exact exception in wcf service -


i want catch faults in wcf service, , found way that

operationcontext.current.channel.faulted += delegate(object sender, eventargs args) {     //exception thrwon in wcf service } 

the question how know exact exception in fault event?

a better way use error handler implementing ierrorhandler interface.


Comments