How to throw an exception that makes that channel in faulted state WCF

226 views Asked by At

I am using netMsmqBinding. The service goes to faulted state. It is hosted in windows service.

One reason i know is when there is an unhandled exception the service goes to faulted state. My whole code is enclosed in try catch block. So my understanding is every exception will come come in catch and will be handled there.

We are getting an exception in our production environment. How can i create an exception that makes the channel in faulted state. Below is the screen shot of the trace trace detail

The exception came on a different thread and faulted the channel. Can this be a reason

0

There are 0 answers