The first two examples run an operation on a fictitious Web service that returns a SOAP fault identical to the one described in the beginning of this section (see the
Handling SOAP faults). They access and examine the SOAP fault message as described in the following steps. The first example uses traditional error handling, and the second uses structured error handling.
The third example shows how to access and examine a class-based error object returned from an asynchronous call.