System.Web.Configuration.EventMappingSettings Class

Defines the ASP.NET event mapping settings for event providers. This class cannot be inherited.

See Also: EventMappingSettings Members


public sealed class EventMappingSettings : System.Configuration.ConfigurationElement


This class corresponds to the eventMappings configuration-file element. The eventMappings element allows you to assign friendly names to event sources. These names are then used to associate event sources with the related event consumers, called providers, in the rules subsection of the healthMonitoring section of the configuration file.

Event codes are mapped to events defined by the constants in the System.Web.Management.WebEventCodes object. The mapping uses a range specified with the EventMappingSettings.StartEventCode and EventMappingSettings.EndEventCode properties.


Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions:
Since: .NET 2.0