httpModules の remove 要素 (ASP.NET 設定スキーマ)

[このドキュメントはプレビューのみを目的としており、以降のリリースで変更される可能性があります。プレースホルダーとして空白のトピックが含まれています。]

モジュールへの参照を削除します。

<remove name="ModuleName"/>

属性および要素

以降のセクションでは、属性、子要素、および親要素について説明します。

属性

属性

Description

name

add を使用して以前にモジュールを追加した先のモジュール名を指定します。

値は、先行する add ディレクティブの値と正確に一致する必要があります。

子要素

なし。

親要素

要素

Description

configuration

共通言語ランタイムおよび .NET Framework アプリケーションで使用されるすべての構成ファイルで必要なルート要素を指定します。

system.web

ASP.NET 構成セクションのルート要素を指定します。

httpModules

アプリケーション内の HTTP モジュールを設定します。

使用例

モジュールの削除方法を次の例に示します。

<configuration>
   <system.web>
      <httpModules>
         <remove name="OutputCache"/>
      </httpModules>
   </system.web>
</configuration>

要素情報

構成セクション ハンドラー

System.Web.Configuration.HttpModulesSection

構成メンバー

SystemWebSectionGroup.HttpModules

構成できる場所

Machine.config

ルート レベルの Web.config

アプリケーション レベルの Web.config

仮想ディレクトリ レベルまたは物理ディレクトリ レベルの Web.config

要件

Microsoft Internet Information Services (IIS) バージョン 5.0、5.1、または 6.0

.NET Framework Version 1.0、1.1、または 2.0

Microsoft Visual Studio 2003 または Visual Studio 2005

参照

処理手順

How to: Lock ASP.NET Configuration Settings

Reference

httpModules 要素 (ASP.NET 設定スキーマ)

system.web 要素 (ASP.NET 設定スキーマ)

<configuration> 要素

httpModules の add 要素 (ASP.NET 設定スキーマ)

httpModules の clear 要素 (ASP.NET 設定スキーマ)

System.Configuration

System.Web.Configuration

概念

ASP.NET Configuration Overview

ASP.NET Server Controls and Browser Capabilities

Securing Configuration

Configuration Inheritance

その他の技術情報

ASP.NET Configuration Files

ASP.NET 構成設定

全般構成設定 (ASP.NET)

ASP.NET Configuration API