G
Guest
I've got a C++/CLI winforms app that calls web services. I am trying to wrap
my calls the WS in a try/catch block and need to catch the following two
exceptions:
System.Net.WebException
Thrown when no connection to internet on client computer.
System.Web.Services.Protocols.SoapException
Thrown when WS server's SqlServer is unavailable (WS returns data from the
SqlServer).
I would like to know which one I should catch first?
Rasika.
my calls the WS in a try/catch block and need to catch the following two
exceptions:
System.Net.WebException
Thrown when no connection to internet on client computer.
System.Web.Services.Protocols.SoapException
Thrown when WS server's SqlServer is unavailable (WS returns data from the
SqlServer).
I would like to know which one I should catch first?
Rasika.