RuleSettings Class [IIS 7 and higher]
Maps Web events to health-monitoring providers.
The following table lists the properties exposed by the RuleSettings class.
An array of RuleElement instances that maps Web events to health-monitoring providers.
Instances of this class are contained in the Rules array property of the HealthMonitoringSection class.
Health-monitoring events (also called Web events) are raised during Web application processing and are consumed by providers (listeners), which read and record the information packaged with the event.
You can subscribe an existing provider or a custom provider to a Web event by configuring a new Rules element. An event is enabled if it is mapped to an event provider in the RuleElement class. You must configure the event mappings and the provider settings, but the event is not raised unless you connect the event and provider in the RuleElement class.
To disable an event, you can remove it from the Rules property.