Exception catching in WCF?

Posted by Naga116 under Interview Questions on 8/6/2011 | Points: 10 | Views : 1227 | Status : [Member] | Replies : 2
How to catche an exceptiong from WCF? Example?

If Custom exception provide the example?

Nagaraju


Responses

Posted by: SheoNarayan on: 8/6/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Normally, you keep the WCF service call in the try catch block. However if you want to have fault catching in wcf services you can read this article http://www.codeproject.com/KB/WCF/WCFErrorHandling.aspx.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Naga116, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mahadesh on: 8/6/2011 [Member] Starter | Points: 25

Up
0
Down
This article is good as well. Keeps things simple .

http://www.c-sharpcorner.com/UploadFile/ankithakur/ExceptionHandlingWCF12282007072617AM/ExceptionHandlingWCF.aspx

Thanks ,
Mahadesh

Thanks ,

Mahadesh

Naga116, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response