System.Web 2.0.0.0 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 object. The mapping uses a range specified with the and properties.

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

- Constructor

  The following table shows the default settings that are used for this constructor.

  Setting

  Default Value

  0.

  .

  Initializes a new instance of the class using the specified name and type.

  The name of the object being created.
  The fully qualified type of the event class to use.
  2.0.0.0
- Constructor
  To be added.

  Initializes a new instance of the class using the specified values.

  The name of the object being created.
  The fully qualified type of the event class to use.
  The starting event code range.
  The ending event code range.
  2.0.0.0
- Property
  System.Configuration.ConfigurationProperty("endEventCode", DefaultValue="2147483647")
  System.Configuration.IntegerValidator(MinValue=0, MaxValue=2147483647)
  System.Int32 To be added.

  Event codes are mapped to events defined by the constants in the object. The mapping uses a range specified with the and properties.

  Gets or sets the ending event code of the range.

  2.0.0.0
- Property
  System.Configuration.ConfigurationProperty("name", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)
  System.String To be added.

  A unique name is required. Duplicate names may result in a loss of data when the configuration section is saved.

  Gets or sets the name of the object.

  2.0.0.0
- Property
  System.Configuration.ConfigurationPropertyCollection To be added. To be added. To be added. 2.0.0.0
- Property
  System.Configuration.ConfigurationProperty("startEventCode", DefaultValue="0")
  System.Configuration.IntegerValidator(MinValue=0, MaxValue=2147483647)
  System.Int32 To be added.

  Event codes are mapped to events defined by the constants in the object. The mapping uses a range specified with the and properties.

  Gets or sets the starting event code of the range.

  2.0.0.0
- Property
  System.Configuration.ConfigurationProperty("type", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsRequired)
  System.String To be added.

  Use this property to specify the type of the event. The specified type can be the actual class type or a parent type of the event class. If it is an empty string (""), no event is mapped, and the object acts as a placeholder.

  The type reference is formed as follows (items in brackets are not required): Namespace.Typename, Assemblyname[,] [Version=x,] [Culture=y,] [PublicKeyToken=z]. For example "ExampleNameSpace.ExampleType, Example.Assembly, Version=%ASSEMBLY_VERSION%, Culture=neutral, PublicKeyToken=%MICROSOFT_PUBLICKEY%"

  Gets or sets a custom event type.

  2.0.0.0