다음을 통해 공유


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

Removes all buffer mode configurations from the BufferModesCollection for an ASP.NET application.

<clear />

Attributes and Elements

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.

bufferModes

Defines the buffering capabilities for a provider.

Example

The following example clears all buffer modes from the application.

<healthMonitoring>
  <bufferModes>
    <clear />
  </bufferModes>
</healthMonitoring>

Element Information

Configuration Section Handler

System.Web.Configuration.HealthMonitoringSection

Configuration Member

System.Web.Configuration.BufferModesCollection

Configurable Locations

Machine.config

Root level Web.config

Application level Web.config

Requirements

IIS version 5.0 or later

.NET Framework version 2.0

Visual Studio 2005

See Also

Tasks

How to: Lock ASP.NET Configuration Settings

Reference

healthMonitoring Element (ASP.NET Settings Schema)
bufferModes Element for healthMonitoring (ASP.NET Settings Schema)
add Element for bufferMode for healthMonitoring (ASP.NET Settings Schema)
remove Element for bufferModes for healthMonitoring (ASP.NET Settings Schema)
System.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