Chapter 7. Exception Handling
In this chapter, you will learn how to:
Throw exceptions in XML Web services.
Handle exceptions thrown by XML Web services.
Use custom fault codes to better report errors in XML Web services.
Exceptions are a powerful programming technique, supported by both C# and Visual Basic .NET, that provides a structured approach to handling system and application error conditions. You can use exceptions within the scope of your XML Web services as you do in any other application. Only when an XML Web service throws an exception that must be propagated back to the client is special consideration required.
How ASP.NET Handles Exceptions
When an XML Web service throws an exception that it does not handle internally, the exception passes ...
Get Microsoft® .NET XML Web Services Step by Step now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.