Поделиться через


<add> Element for <serviceDescriptionFormatExtensionTypes>

Adds a service description format extension to run within the scope of the configuration file.

<configuration>
   <system.web>
      <webServices>
         <serviceDescriptionFormatExtensionTypes>
            <add>

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

Required Attribute

Attribute Description
type Specifies the service description format extension class to add.

Example

The following example adds a service description format extension class.

<configuration>
   <system.web>
      <webServices>
         <serviceDescriptionFormatExtensionType>
            <add name="NameOfClass"/>
         </serviceDescriptionFormatExtensionType>
      </webServices>
   </system.web>
</configuration>

Requirements

Contained Within: <system.web>

Web Platform: IIS 5.0, IIS 5.1, IIS 6.0

Configuration File: Machine.config, Web.config

Configuration Section Handler: System.Web.Services.Configuration.WebServicesConfigurationSectionHandler

See Also

<serviceDescriptionFormatExtensionTypes> Element | <webServices> |XML Web Services Created Using ASP.NET and XML Web Service Clients | ASP.NET Configuration | ASP.NET Settings Schema