Share via


RuleSettings Class [IIS 7 and higher]

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

EmbeddedObject

   RuleSettings

Requirements

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

See Also

Reference

EmbeddedObject Class [IIS 7 and higher]

EventMappingSettings Class [IIS 7 and higher]

HealthMonitoringSection Class [IIS 7 and higher]

ProfileSettings Class [IIS 7 and higher]

ProviderSettings Class [IIS 7 and higher]

RuleElement Class [IIS 7 and higher]

Other Resources

ASP.NET Health Monitoring Overview

CIM_DATETIME