What exception is thrown if a web service i'm using Times Out?

Posted by BT on Stack Overflow See other posts from Stack Overflow or by BT
Published on 2010-03-18T15:17:21Z Indexed on 2010/03/18 15:21 UTC
Read the original article Hit count: 289

I'm calling a .NET web service within my existing .NET webservice, i would like to know what exception is thrown from the web method if timeout happens, i have set the web service timeout to some lower value then the default 90 sec. and want to add business logic if time out happens.

Is this the exception i should be looking at? System.Net.WebException

© Stack Overflow or respective owner

Related posts about c#

Related posts about web