System.Web.Configuration.ProfileSettings.MaxLimit Property

Gets or sets the maximum number of times events of the same type are raised.

Syntax

[System.Configuration.ConfigurationProperty("maxLimit", DefaultValue=2147483647)]
[System.Configuration.IntegerValidator(MinValue=0, MaxValue=2147483647)]
[System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteIntConverter))]
public int MaxLimit { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property must have a value greater than zero. The value can be made infinite by setting it to int.MaxValue. 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.

Requirements

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