次の方法で共有


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

更新 : 2007 年 11 月

指定されたイベント表示名のマップを削除します。

<configuration> 要素
  system.web 要素 (ASP.NET 設定スキーマ)
    healthMonitoring 要素 (ASP.NET 設定スキーマ)
      healthMonitoring の eventMappings 要素 (ASP.NET 設定スキーマ)
        healthMonitoring の eventMappings の remove 要素 (ASP.NET 設定スキーマ)

<remove name="mapping name" />

属性と要素

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

属性

属性

説明

name

必須の String 属性です。

コレクションから削除する EventMappingSettings オブジェクトの名前。

メモ :

有効な名前を指定しなかった場合でも、実行時に構成エラーが生成されることはありません。

子要素

なし

親要素

要素

説明

Configuration

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

system.web

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

healthMonitoring

状態の監視に対応したアプリケーションを構成します。

eventMappings

イベントの表示名を関連するイベントの種類にマップします。

使用例

コレクションからイベントを削除する例を次に示します。

<healthMonitoring>
  <eventMappings>
    <remove name="Heartbeats"/>
  </eventMappings>
</healthMonitoring>

要素情報

構成セクション ハンドラ

System.Web.Configuration.HealthMonitoringSection

構成メンバ

HealthMonitoringSection.EventMappings

構成できる場所

Machine.config

ルート レベルの Web.config

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

必要条件

IIS 5.0 以上

.NET Framework 2.0

Visual Studio 2005

参照

処理手順

方法 : ASP.NET 構成設定をロックする

概念

ASP.NET 構成の概要

ASP.NET Web サーバー コントロールとブラウザの機能

ASP.NET 構成の保護

ASP.NET の構成のシナリオ

参照

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

healthMonitoring の eventMappings 要素 (ASP.NET 設定スキーマ)

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

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

System.Configuration

System.Configuration.Configuration

System.Web.Configuration

その他の技術情報

ASP.NET 構成ファイル

ASP.NET 構成設定

全般構成設定 (ASP.NET)

ASP.NET 構成 API