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

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

Removes all of the health monitoring providers from the ProviderSettingsCollection for an ASP.NET application.

<configuration> Element
  system.web Element (ASP.NET Settings Schema)
    healthMonitoring Element (ASP.NET Settings Schema)
      providers Element for healthMonitoring (ASP.NET Settings Schema)
        clear Element for providers for healthMonitoring (ASP.NET Settings Schema)
<clear />

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

Attributes

None.

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 clear all providers from the collection.

<healthMonitoring>
  <providers>
    <clear />
  </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

IIS 5.0 or later

.NET Framework 2.0

Visual Studio 2005

Community Additions

ADD
Show:
© 2016 Microsoft