共用方式為


healthMonitoring 之 eventMappings 的 remove 項目 (ASP.NET 設定結構描述)

移除指定的事件易記名稱對應。

<remove name="mapping name" />

屬性和項目

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

屬性

屬性

描述

name

必要的 String 屬性。

要從集合中移除的 EventMappingSettings 物件名稱。

NoteNote
無法提供有效的名稱時,將不會在執行階段產生組態錯誤。

子項目

無。

父項目

項目

描述

Configuration

Common Language Runtime 和 .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

請參閱

工作

How to: Lock ASP.NET Configuration Settings

參考

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 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