<serviceDescriptionFormatExtensionTypes> 的 <remove> 項目
從組態檔範圍內移除指定的服務描述格式擴充功能 (SDFE) 類別。<remove> 的值必須完全符合先前 <add> 指示詞的值。不支援萬用字元選擇。
<configuration> 項目
system.web 項目 (ASP.NET 設定結構描述)
<webServices> 項目
<serviceDescriptionFormatExtensionTypes> 項目
<serviceDescriptionFormatExtensionTypes> 的 <remove> 項目
<remove type="service description format extension type"/>
屬性和項目
下列小節將說明屬性、子項目和父項目。
屬性
屬性 | 說明 |
---|---|
Type |
必要屬性。 要移除的 SDFE 類別。 |
子項目
無
父項目
項目 | 說明 |
---|---|
configuration |
Common Language Runtime 和 .NET Framework 應用程式所使用之每個組態檔中的根項目。 |
serviceDescriptionFormatExtensionTypes |
指定用來延伸為 Web 服務產生之 WSDL 文件的服務描述格式延伸 (Service Description Format Extension,SDFE) 類別。SDFE 提供描述 SOAP 擴充功能的方法。 |
system.web |
指定 ASP.NET 組態區段的根項目。 |
webServices |
控制使用 ASP.NET 部署的 Web Service 設定,以及在 .NET Framework 上執行的 Web Service 用戶端的設定。 |
範例
下列範例會移除透過繼承的組態檔中 <add> 項目所加入的 SDFE 類別。
<configuration>
<system.web>
<webServices>
<serviceDescriptionFormatExtensionType>
<remove type=NameOfClass"/>
</serviceDescriptionFormatExtensionType >
<webServices>
</system.web>
</configuration>
請參閱
工作
參考
<webServices> 項目
<serviceDescriptionFormatExtensionTypes> 項目
ServiceDescriptionFormatExtension Class
其他資源
ASP.NET 組態設定
使用 ASP.NET 和 XML Web Service 用戶端建立的 XML Web Service
ASP.NET Configuration