Export (0) Print
Expand All

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

Removes the specified health monitoring provider from the collection.

<configuration> Element
  system.web Element (ASP.NET Settings Schema)
    healthMonitoring Element (ASP.NET Settings Schema)
      providers Element for healthMonitoring (ASP.NET Settings Schema)
        remove Element for providers for healthMonitoring (ASP.NET Settings Schema)
<remove name="provider name">

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

Attributes

Attribute

Description

name

Required String attribute.

The name of the provider to be removed from the collection.

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

The following example shows how to remove a specific provider from the collection.

<healthMonitoring>
  <providers>
    <remove name="EventLogProvider"/>
  </providers>
</healthMonitoring>

Configuration Section Handler

System.Web.Configuration.HealthMonitoringSection

Configuration Member

HealthMonitoringSection.Providers

Configurable Locations

Machine.config

Root level Web.config

Application level Web.config

Requirements

Internet Information Services (IIS) version 5.0 or later

.NET Framework version 2.0

Visual Studio 2005

Community Additions

ADD
Show:
© 2014 Microsoft