System.Web
2.0.0.0
System.Configuration.ConfigurationElement
Event rules determine which event, using which profile, is fired to which provider.
Configures the ASP.NET event rules. 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.
-
0 ticks.
-
An empty string ("").
Initializes a new instance of the class using default settings; however, the name, event name, and provider are specified.
The name of the object to create.
The name of the object this rule applies to.
The name of the object this rule applies to.
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 where all values except those of the class are specified.
The name of the object to create.
The name of the object this rule applies to.
The name of the object this rule applies to.
The name of the object this rule applies to.
The minimum number of occurrences of the same type of event that can occur before the event is raised to the provider.
The maximum number of times events of the same type can be raised.
The minimum time interval between two events of the same type.
2.0.0.0
Constructor
You must provide every setting for this constructor.
Initializes a new instance of the class where all values are specified.
The name of the object to create.
The name of the object this rule applies to.
The name of the object this rule applies to.
The name of the object this rule applies to.
The minimum number of occurrences of an event of the same type before the event is fired to the provider.
The maximum number of times events of the same type are fired.
The minimum time 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 .
2.0.0.0
Property
System.Configuration.ConfigurationProperty("eventName", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsRequired)
System.String
To be added.
The object referenced by this property must be contained by the same object that also contains this
object.
Gets or sets the name of the object this rule applies to.
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. Invalid values may cause an exception to be thrown when the configuration section is saved.
This represents the maximum number of times an event of the same type will be raised. For example, if the value is 10, then 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. Invalid values may cause an exception to be thrown when the configuration section is saved.
This represents the minimum number of times an event occurs before an event is raised to the provider. For example, if the return value is 5, then ASP.NET will not raise an event to the provider until the fifth instance of the event occurs.
Gets or sets the minimum number of occurrences of the same type of event 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 to be thrown when the configuration section is saved.
If the value is zero, then there is no minimum interval.
Gets or sets the minimum time 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.
Gets or sets the name of the object.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("profile", DefaultValue="")
System.String
To be added.
The object referenced by this property must be contained by the same object that also contains this
object.
Gets or sets the name of the object this rule applies to.
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("provider", DefaultValue="")
System.String
To be added.
The object referenced by this property must be contained by the same object that also contains this object.
Gets or sets the name of the object this rule applies to.
2.0.0.0