HealthMonitoringSection 类
配置用于运行状况监视的应用程序。
语法
class HealthMonitoringSection : ConfigurationSectionWithCollection
方法
下表列出了 HealthMonitoringSection
类公开的方法。
名称 | 说明 |
---|---|
添加 | (继承自 ConfigurationSectionWithCollection。) |
清除 | (从 ConfigurationSectionWithCollection 继承。) |
Get | (从 ConfigurationSectionWithCollection 继承。) |
GetAllowDefinition | (继承自 ConfigurationSection。) |
GetAllowLocation | (从 ConfigurationSection 继承。) |
删除 | (从 ConfigurationSectionWithCollection 继承。) |
RevertToParent | (从 ConfigurationSection 继承。) |
SetAllowDefinition | (从 ConfigurationSection 继承。) |
SetAllowLocation | (从 ConfigurationSection 继承。) |
属性
下表列出了 HealthMonitoringSection
类公开的属性。
名称 | 描述 |
---|---|
BufferModes |
一个 BufferModeSettings 值,用于配置事件提供程序的 ASP.NET 事件缓冲设置。 |
Enabled |
一个读/写 boolean 值。 如果为 Web 应用程序启用了运行状况监视,则为 true ;否则,为 false 。 默认为 true 。 |
EventMappings |
一个 EventMappingSettings 值,该值将友好事件名称映射到相关事件类型。 |
HeartbeatInterval |
一个读/写 datetime 值,该值指定 System.Web.Management.WebHeartbeatEvent 事件之间的间隔。 默认值为 0,指示未引发 WebHeartbeatEvent 事件。 |
Location |
(继承自 ConfigurationSection 。)一个键属性。 |
Path |
(继承自 ConfigurationSection 。)一个键属性。 |
Profiles |
一个 ProfileSettings 值,该值指定事件配置文件,用于确定如何由 ASP.NET 收集事件并将其引发到提供程序。 |
Providers |
一个 ProviderSettings 值,该值指定处理事件的运行状况监视提供程序的名称和类型。 |
Rules |
一个 RuleSettings 值,该值将事件映射到运行状况监视提供程序。 |
SectionInformation |
(从 ConfigurationSection 继承。) |
子类
此类不包含子类。
继承层次结构
ConfigurationSectionWithCollection
HealthMonitoringSection
要求
类型 | 描述 |
---|---|
客户端 | - IIS 7.0(在 Windows Vista 上) - IIS 7.5(在 Windows 7 上) - IIS 8.0(在 Windows 8 上) - IIS 10.0(在 Windows 10 上) |
服务器 | - IIS 7.0(在 Windows Server 2008 上) - IIS 7.5(在 Windows Server 2008 R2 上) - IIS 8.0(在 Windows Server 2012 上) - IIS 8.5(在 Windows Server 2012 R2 上) - IIS 10.0(在 Windows Server 2016 上) |
产品 | - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0 |
MOF 文件 | WebAdministration.mof |
另请参阅
System.Web.Management.WebHeartbeatEventBufferModeSettings 类
ConfigurationSectionWithCollection 类
EventMappingSettings 类
ProfileSettings 类
ProviderSettings 类
RuleSettings 类
ASP.NET 运行状况监视概述
CIM_DATETIME