What are the ways for exception handling in WCF?
In general exception handling is one of the features of object programming language and it is an error that accurate which occurs runtime. Exception handling is a technique which is used to handle runtime errors. In order to handle expectations try, catch and finally block are used. Id the expiration handling technique is unable to handle the runtime error then the execution of the application automatically terminated.
There are three ways of handling exception in WCF
- Faultexception
- IErrorHandler
- returnUnknownExceptionAsFaults
BY Best Interview Question ON 14 Sep 2019