healthMonitoring 的 providers 的 remove 元素(ASP.NET 设置架构)

更新:2007 年 11 月

从集合中移除指定的运行状况监视提供程序。

<configuration> 元素
  system.web 元素(ASP.NET 设置架构)
    healthMonitoring 元素(ASP.NET 设置架构)
      healthMonitoring 的 providers 元素(ASP.NET 设置架构)
        healthMonitoring 的 providers 的 remove 元素(ASP.NET 设置架构)

<remove name="provider name">

属性和元素

下面几部分描述了属性、子元素和父元素。

属性

属性

说明

name

必需的 String 属性。

要从集合中移除的提供程序的名称。

说明:

无法提供有效名称也不会在运行时生成配置错误。

子元素

无。

父元素

元素

说明

configuration

公共语言运行库和 .NET Framework 应用程序所使用的每个配置文件中的根元素。

system.web

为 ASP.NET 配置节指定根元素。

healthMonitoring

针对运行状况监视配置应用程序。

示例

下面的示例说明如何从集合中移除特定的提供程序。

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

元素信息

Configuration Section Handler

System.Web.Configuration.HealthMonitoringSection

Configuration Member

HealthMonitoringSection.Providers

Configurable Locations

Machine.config

根级别的 Web.config

应用程序级别的 Web.config

Requirements

Internet 信息服务 (IIS) 5.0 或更高版本

.NET Framework 2.0 版

Visual Studio 2005

请参见

任务

如何:锁定 ASP.NET 配置设置

概念

ASP.NET 运行状况监视概述

ASP.NET 配置概述

ASP.NET Web 服务器控件和浏览器功能

保证 ASP.NET 配置的安全

ASP.NET 配置方案

参考

healthMonitoring 元素(ASP.NET 设置架构)

healthMonitoring 的 providers 元素(ASP.NET 设置架构)

healthMonitoring 的 providers 的 add 元素(ASP.NET 设置架构)

healthMonitoring 的 providers 的 clear 元素(ASP.NET 设置架构)

Configuration

System.Configuration

System.Web.Configuration

System.Web.Management

其他资源

ASP.NET 配置文件

ASP.NET 配置设置

常规配置设置 (ASP.NET)

ASP.NET 配置 API