If I have a session-less binding, are there any circumstances under which the client channel will fault?
In my specific case I have the following custom binding:
<customBinding>
<binding name="MyCustomBinding">
<mtomMessageEncoding/>
<httpTransport/>
</binding>
</customBinding>
On the client side I'm using the default generated proxies that derive from ClientBase<T>
.
I was expecting that if the service threw an unhandled exception that was not a FaultException
that it would cause the channel to be faulted and make the client proxy fault as well. However, that is not the case--the proxy still remained in the Open state and was usable afterwards. I also tried violating one of the Binding's timeouts--this also did not fault the channel and the client proxy remained in the Open state.
Is there any situation that will cause the client proxy to become faulted?
Related: