共用方式為


<soapExtensionImporterTypes> 的 <remove> 項目

(僅限 Web 服務用戶端 (而非用戶端)) 從組態檔範圍內移除指定的 SOAP 擴充匯入工具類別。

<configuration>

  <system.web>

    <webServices> 項目

      <soapExtensionImporterTypes> 項目

        <soapExtensionImporterTypes> 的 <remove> 項目

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

屬性和項目

下列章節將說明屬性、子項目和父項目。

屬性

屬性 描述

type

必要屬性。

要移除的 SOAP 擴充匯入工具類別名稱。

子項目

無。

父項目

項目 描述

configuration

Common Language Runtime 和 .NET Framework 應用程式所使用之每個組態檔中的根項目。

soapExtensionImporterTypes

(僅限 Web 服務用戶端) 指定 SOAP 擴充匯入工具類別,以擴充用戶端 Proxy 產生處理序。

system.web

指定 ASP.NET 組態區段的根項目。

webServoces

控制使用 ASP.NET 部署的 Web 服務設定,以及在 .NET Framework 上執行之 Web 服務用戶端的設定。

範例

下列範例會移除 SOAP 擴充匯入工具類別。

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

請參閱

工作

逐步解說:自訂服務描述和 Proxy 類別的產生

參考

<webServices> 項目
<soapExtensionImporterTypes> 項目
SoapExtensionImporter

其他資源

ASP.NET Settings Schema
使用 ASP.NET 和 XML Web Service 用戶端建立的 XML Web Service

Footer image

Copyright © 2007 by Microsoft Corporation. All rights reserved.