remove Element for eventMappings for healthMonitoring (ASP.NET Settings Schema)

Removes the specified event-friendly name mapping.

<configuration> Element
  system.web Element (ASP.NET Settings Schema)
    healthMonitoring Element (ASP.NET Settings Schema)
      eventMappings Element for healthMonitoring (ASP.NET Settings Schema)
        remove Element for eventMappings for healthMonitoring (ASP.NET Settings Schema)

<remove name="mapping name" />

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

name

Required String attribute.

The name of the EventMappingSettings object to be removed from the collection.

Note

Failure to supply a valid name will not generate a configuration error at run time.

Child Elements

None.

Parent Elements

Element

Description

Configuration

The root element in every configuration file used by the common language runtime and .NET Framework applications.

system.web

Specifies the root element for the ASP.NET configuration section.

healthMonitoring

Configures an application for health monitoring.

eventMappings

Maps friendly event names to the related event types.

Example

The following example shows how to remove an event from the collection.

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

Element Information

Configuration Section Handler

System.Web.Configuration.HealthMonitoringSection

Configuration Member

HealthMonitoringSection.EventMappings

Configurable Locations

Machine.config

Root level Web.config

Applicationlevel Web.config

Requirements

IIS 5.0 or later

.NET Framework 2.0

Visual Studio 2005

See Also

Tasks

How to: Lock ASP.NET Configuration Settings

Reference

healthMonitoring Element (ASP.NET Settings Schema)

eventMappings Element for healthMonitoring (ASP.NET Settings Schema)

add Element for eventMappings for healthMonitoring (ASP.NET Settings Schema)

clear Element for eventMappings for healthMonitoring (ASP.NET Settings Schema)

System.Configuration

System.Configuration.Configuration

System.Web.Configuration

Concepts

ASP.NET Configuration Overview

ASP.NET Web Server Controls and Browser Capabilities

Securing ASP.NET Configuration

ASP.NET Configuration Scenarios

Other Resources

ASP.NET Configuration Files

ASP.NET Configuration Settings

General Configuration Settings (ASP.NET)

ASP.NET Configuration API