RuleSettings Class
Maps Web events to health-monitoring providers.
Syntax
class RuleSettings : EmbeddedObject
Methods
This class contains no methods.
Properties
The following table lists the properties exposed by the RuleSettings
class.
Name | Description |
---|---|
Rules |
An array of RuleElement instances that maps Web events to health-monitoring providers. |
Subclasses
This class contains no subclasses.
Remarks
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.
Inheritance Hierarchy
RuleSettings
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
EmbeddedObject Class
EventMappingSettings Class
HealthMonitoringSection Class
ProfileSettings Class
ProviderSettings Class
RuleElement Class
ASP.NET Health Monitoring Overview
CIM_DATETIME