This documentation is archived and is not being maintained.

How to: Throw Exceptions from a Web Service Created Using ASP.NET

This topic is specific to a legacy technology. XML Web services and XML Web service clients should now be created using Windows Communication Foundation .

Code Example

The following code example throws a SoapException and provides additional details about the exception by setting the Detail property. For more on throwing exceptions from ASP.NET Web services, see Handling and Throwing Exceptions in XML Web Services.

Example

No code example is currently available or this language may not be supported.

See Also

Show: