This documentation is archived and is not being maintained.
How to: Handle Exceptions Thrown by a Web Service Method
Visual Studio 2010
This topic is specific to a legacy technology. XML Web services and XML Web service clients should now be created using
Windows Communication Foundation
.
The following code example of a client calling a Web service method catches a SoapException thrown by the Web service method. The client then populates an HTML table with the properties of the caught SoapException.For more on handling SOAP faults received by Web service clients, see Handling and Throwing Exceptions in XML Web Services.
Example
See Also
Show: