I have two components :

  1. My Web application which is on one server
  2. My WCF windows service which is on another server

The web application makes a request to the service and the request times out after a while. In the Eventlog of the server where the service is, I get a HttpException with message as "Request timed out".

How should I catch this exception at my client side because I want to perform some functionality in case of a time out.

I have already tried catching the following exception but it doesn't work:

  1. TimeoutException
  2. FaultException
  3. HttpException
  4. ThreadAbortException

0 Answers