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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -