ProfileSettings Class
.NET Framework 3.0
Configures the ASP.NET event profiles. This class cannot be inherited.
Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
This example demonstrates how to specify values declaratively for several attributes of the profiles section, which can also be accessed as members of the ProfileSettings class.
The following configuration file excerpt shows how to declaratively specify values for several properties of the profiles section.
<healthMonitoring>
<profiles>
<add name="Default"
minInstances="1"
maxLimit="Infinite"
minInterval="00:10:00"
/>
<add name="Critical"
minInstances="1"
maxLimit="1024"
minInterval="00:00:00"
/>
</profiles>
</healthMonitoring>
Community Additions
ADD
Show: