HealthMonitoringSection Class
Configures an application for health monitoring.
Syntax
class HealthMonitoringSection : ConfigurationSectionWithCollection
Methods
The following table lists the methods exposed by the HealthMonitoringSection
class.
Name | Description |
---|---|
Add | (Inherited from ConfigurationSectionWithCollection.) |
Clear | (Inherited from ConfigurationSectionWithCollection .) |
Get | (Inherited from ConfigurationSectionWithCollection .) |
GetAllowDefinition | (Inherited from ConfigurationSection.) |
GetAllowLocation | (Inherited from ConfigurationSection .) |
Remove | (Inherited from ConfigurationSectionWithCollection .) |
RevertToParent | (Inherited from ConfigurationSection .) |
SetAllowDefinition | (Inherited from ConfigurationSection .) |
SetAllowLocation | (Inherited from ConfigurationSection .) |
Properties
The following table lists the properties exposed by the HealthMonitoringSection
class.
Name | Description |
---|---|
BufferModes |
A BufferModeSettings value that configures the ASP.NET event-buffering settings for event providers. |
Enabled |
A read/write boolean value. true if health monitoring is enabled for the Web application; otherwise, false . The default is true . |
EventMappings |
A EventMappingSettings value that maps friendly event names to related event types. |
HeartbeatInterval |
A read/write datetime value that specifies the interval between System.Web.Management.WebHeartbeatEvent events. The default is 0, which indicates that no WebHeartbeatEvent event is raised. |
Location |
(Inherited from ConfigurationSection .) A key property. |
Path |
(Inherited from ConfigurationSection .) A key property. |
Profiles |
A ProfileSettings value that specifies event profiles that determine how events are collected by ASP.NET and raised to providers. |
Providers |
A ProviderSettings value that specifies the names and types of health monitoring providers that process events. |
Rules |
A RuleSettings value that maps events to health monitoring providers. |
SectionInformation |
(Inherited from ConfigurationSection .) |
Subclasses
This class contains no subclasses.
Inheritance Hierarchy
ConfigurationSectionWithCollection
HealthMonitoringSection
Requirements
Type | Description |
---|---|
Client | - IIS 7.0 on Windows Vista - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
Server | - IIS 7.0 on Windows Server 2008 - IIS 7.5 on Windows Server 2008 R2 - IIS 8.0 on Windows Server 2012 - IIS 8.5 on Windows Server 2012 R2 - IIS 10.0 on Windows Server 2016 |
Product | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 |
MOF file | WebAdministration.mof |
See Also
System.Web.Management.WebHeartbeatEvent
BufferModeSettings Class
ConfigurationSectionWithCollection Class
EventMappingSettings Class
ProfileSettings Class
ProviderSettings Class
RuleSettings Class
ASP.NET Health Monitoring Overview
CIM_DATETIME