<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

    <webServices> Element
      <diagnostics> Element for Web Services


<diagnostics suppressReturningExceptions="false | true" /> 

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.


Element Description


Specifies whether exceptions are returned. The default is false. Set this value to true to help debug Web services.

Child Elements


Parent Elements

Element Description


The root element in every configuration file used by the common language runtime and .NET Framework applications.


Specifies the root element for the ASP.NET configuration section.


Controls the settings of Web services deployed using ASP.NET and of Web service clients running on the .NET Framework.

See Also


<webServices> Element

Other Resources

ASP.NET Settings Schema
XML Web Services Created Using ASP.NET and XML Web Service Clients