Freigeben über


<remove> Element for <serviceDescriptionFormatExtensionTypes> 

Removes a specified service description format extension (SDFE) class from within the scope of the configuration file. The value of <remove> must exactly match that of a previous <add> directive. Wildcard selections are not supported.

<remove type="service description format extension type"/>

Attributes and Elements

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

Attributes

Attribute Description

Type

Required attribute.

The SDFE class to remove.

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.

serviceDescriptionFormatExtensionTypes

Specifies the service description format extension (SDFE) classes used to extend the WSDL documents generated for Web services. SDFEs provide a means of describing SOAP extensions.

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.

Example

The following example removes an SDFE class added through an <add> element contained in an inherited configuration file.

<configuration>
   <system.web>
      <webServices>
         <serviceDescriptionFormatExtensionType>
            <remove type=NameOfClass"/>
         </serviceDescriptionFormatExtensionType >
      <webServices>
   </system.web>
</configuration>

See Also

Tasks

Walkthrough: Customizing the Generation of Service Descriptions and Proxy Classes

Reference

<webServices> Element
<serviceDescriptionFormatExtensionTypes> Element
ServiceDescriptionFormatExtension Class

Other Resources

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