System.Web
2.0.0.0
System.Configuration.ConfigurationElement
The class provides a way to programmatically access and modify the profiles element of the healthMonitoring section of a configuration file.
Event profiles determine how events are collected by ASP.NET and raised to providers.
Configures the ASP.NET event profiles. This class cannot be inherited.
Constructor
The following table shows the default settings that are used for this constructor.
-
Property
Default value
-
An empty string ("").
-
.
-
1.
-
.
Initializes a new instance of the class. using the specified name for the new instance of the class.
The name of the object to create.
2.0.0.0
Constructor
The following table shows the default settings that are used for this constructor.
-
Property
Default value
-
An empty string ("").
Initializes a new instance of the class, using specified settings for the new instance of the class.
The name of the object to create.
The minimum number of event occurrences before the event is raised to the provider.
The maximum number of times events of the same type are raised.
A that specifies the minimum length of the interval between the times when two events of the same type are raised.
2.0.0.0
Constructor
To be added.
Initializes a new instance of the class, using the specified settings for the new instance of the class.
The name of the object to create.
The minimum number of event occurrences before the event is raised to the provider.
The maximum number of times events of the same type are raised.
A that specifies the minimum interval between two events of the same type.
The fully qualified type of a custom class that implements .
2.0.0.0
Property
System.Configuration.ConfigurationProperty("custom", DefaultValue="")
System.String
To be added.
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 the fully qualified type of a custom class that implements the interface.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("maxLimit", DefaultValue=2147483647)
System.Configuration.IntegerValidator(MinValue=0, MaxValue=2147483647)
System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteIntConverter))
System.Int32
To be added.
This property must have a value greater than zero. The value can be made infinite by setting it to . Invalid values may cause an exception to be thrown when the configuration section is saved.
This property specifies the maximum number of times an event of the same type will be raised. For example if the value is 10, the event will be raised 10 times and ignored thereafter.
Gets or sets the maximum number of times events of the same type are raised.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("minInstances", DefaultValue="1")
System.Configuration.IntegerValidator(MinValue=1, MaxValue=2147483647)
System.Int32
To be added.
This property must have a value greater than zero. The value can be made infinite by setting it to . Invalid values may cause an exception to be thrown when the configuration section is saved.
This property specifies the minimum number of times an event occurs before an event is raised to the provider. For example, a value of 5 means that ASP.NET will not raise an event to the provider until the fifth instance of the event occurs. If the value is infinite (), then no event will be raised to the provider.
Gets or sets the minimum number of event occurrences before the event is raised to the provider.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("minInterval", DefaultValue="00:00:00")
System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteTimeSpanConverter))
System.TimeSpan
To be added.
The value can be made infinite by setting it to . Invalid values may cause an exception when the configuration section is saved.
If the value is , then there is no minimum interval.
Gets or sets the minimum interval between two events of the same type.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("name", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)
System.Configuration.StringValidator(MinLength=1)
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