Export (0) Print
Expand All
Expand Minimize

<remove> Element for <protocols>

Removes a single protocol from a specific Web service's list of supported transmission protocols.

<configuration>
   <system.web>
      <webServices>
         <protocols>
            <remove>

<remove name="protocol name"/>

Required Attribute

Attribute Description
name The name of the protocol to remove.

Example

The following example removes a protocol for a Web service.

<configuration>
   <system.web>
      <webServices>
         <protocols>
            <remove name="HttpPost"/>
         </protocols>
      <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

<webServices> Element | <protocols> Element | ASP.NET Configuration | ASP.NET Settings Schema

Show:
© 2014 Microsoft