ProfileSettings Class
Configures the ASP.NET event profiles. This class cannot be inherited.
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>
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.