<diagnostics> Element for Web Services
This topic is specific to a legacy technology. XML Web services and XML Web service clients should now be created using Windows Communication Foundation.
Specifies whether exceptions are returned. Set to true to help in debugging scenarios.
Schema Hierarchy
<configuration>
<system.web>
<webServices> Element
<diagnostics> Element for Web Services
Syntax
<diagnostics suppressReturningExceptions="false | true" />
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Element | Description |
---|---|
suppressReturningExceptions |
Specifies whether exceptions are returned. The default is false. Set this value to true to help debug Web services. |
Child Elements
None.
Parent Elements
Element | Description |
---|---|
configuration |
The root element in every configuration file used by the common language runtime and .NET Framework applications. |
system.web |
Specifies the root element for the ASP.NET configuration section. |
webServices |
Controls the settings of Web services deployed using ASP.NET and of Web service clients running on the .NET Framework. |
See Also
Reference
Other Resources
ASP.NET Settings Schema
XML Web Services Created Using ASP.NET and XML Web Service Clients