<soapExtensionReflectorTypes> 的 <remove> 元素

从配置文件的范围内移除指定的 SOAP 扩展发送程序类。

<configuration>

  <system.web>

    <webServices> 元素

      <soapExtensionReflectorTypes> 元素

        <soapExtensionReflectorTypes> 的 <remove> 元素

<remove type="SOAP extension reflector type"/>

属性和元素

以下几节描述了属性、子元素和父元素。

属性

属性 说明

type

必需的属性。

要移除的 SOAP 扩展发送程序类的名称。

子元素

无。

父元素

元素 说明

configuration

公共语言运行库和 .NET Framework 应用程序所使用的每个配置文件中的根元素。

soapExtensionReflectorTypes

指定仅适用于 Web 服务的 SOAP 扩展发送程序类,这些类用于扩展服务说明(WSDL 文档)的生成过程。

system.web

为 ASP.NET 配置节指定根元素。

webServices

控制使用 ASP.NET 部署的 Web 服务的设置以及运行在 .NET Framework 上的 Web 服务客户端的设置。

示例

下面的示例移除一个 SOAP 扩展发送程序类。

<system.web>
   <webServices>
      <soapExtensionReflectorTypes>
         <remove type="typeName"/>
      </soapExtensionReflectorTypes>
   </webServices>
</system.web>

请参见

任务

演练:自定义服务说明和代理类的生成

参考

<webServices> 元素
<soapExtensionReflectorTypes> 元素
SoapExtensionReflector

其他资源

ASP.NET Settings Schema
使用 ASP.NET 创建的 XML Web Services 以及 XML Web Services 客户端

Footer image

版权所有 (C) 2007 Microsoft Corporation。保留所有权利。