This question is locked. New answers and comments are not allowed.
i'm trying to use a WCF Plain service in VS 2012 with .net 4.5.
I tried the telerik developers manual.
I created the service and a client.
In the service interface IEntitiesModel I put [FaultContract(typeof(string))].
In the EntitiesModel.SVC I used an easy construct as first try:
I tried the telerik developers manual.
I created the service and a client.
In the service interface IEntitiesModel I put [FaultContract(typeof(string))].
In the EntitiesModel.SVC I used an easy construct as first try:
throw new FaultException("test");
In user code of Consumer i wrote a catch for the exception.
Now the problem is:
Every time the service is called, Visual Studio stops in throw new FaultException with the error message, that FaultException was not handled by usercode. If i continue with F5, the exception is also caught by usercode of consumer.
Why does it stop in the service?