Export (0) Print
Expand All
Expand Minimize

RuleSettings Class [IIS 7 and higher]

IIS 7.0

Maps Web events to health-monitoring providers.

class RuleSettings : EmbeddedObject

This class contains no methods.

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.

This class contains no subclasses.

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.

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

Community Additions

ADD
Show:
© 2014 Microsoft