I’m working on an asp.net application which communicates with web services. However quite often of late, the services have been down. I don’t want to throw a generic Exception but rather a very specific one. What is the Exception name that handles ‘connection timed out’. Thank you!
I’m working on an asp.net application which communicates with web services. However quite often
Share
The correct one to throw is TimeoutException. The default message is
The operation has timed-outFrom MSDN: