profiles Element for healthMonitoring (ASP.NET Settings Schema)
Defines a collection of parameter sets to use when configuring events.
This element is new in the .NET Framework version 2.0.
<configuration> Element
system.web Element (ASP.NET Settings Schema)
healthMonitoring Element (ASP.NET Settings Schema)
profiles Element for healthMonitoring (ASP.NET Settings Schema)
<profiles>
<add... />
<remove... />
<clear... />
</profiles>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
Element |
Description |
---|---|
add |
Optional element. Adds a profile to the profile collection. |
clear |
Optional element. Removes all profiles from the profile collection. |
remove |
Optional element. Removes the specified profile from the profile collection. |
Parent Elements
Element |
Description |
---|---|
configuration |
Specifies the required root element in every configuration file that is used by the common language runtime and the .NET Framework applications. |
system.web |
Specifies the root element for the ASP.NET configuration section. |
healthMonitoring |
Configures an application for health monitoring. |
Remarks
The profiles element lets you collect sets of parameters for configuring events. Each set defines a profile.
Default Configuration
The following default profiles element is configured in the root Web.config file in the .NET Framework version 2.0.
<profiles>
<add name="Default" minInstances="1" maxLimit="Infinite" minInterval="00:01:00" custom="" />
<add name="Critical" minInstances="1" maxLimit="Infinite" minInterval="00:00:00" custom="" />
</profiles>
Example
The following code example shows how to configure a profile.
<healthMonitoring Enabled="true" heartBeatInterval="0">
<profiles>
<add name="Default"
minInstances="1"
maxLimit="Infinite"
minInterval="00:01:00"/>
</profiles>
</healthMonitoring>
Element Information
Configuration section handler |
|
Configuration member |
|
Configurable locations |
Machine.config Root-level Web.config Application-level Web.config |
Requirements |
Microsoft Internet Information Services (IIS) version 5.0, 5.1, or 6.0 The .NET Framework version 2.0 Microsoft Visual Studio 2005 |
See Also
Tasks
How to: Lock ASP.NET Configuration Settings
Reference
healthMonitoring Element (ASP.NET Settings Schema)
add Element for profiles for healthMonitoring (ASP.NET Settings Schema)
remove Element for profiles for healthMonitoring (ASP.NET Settings Schema)
clear Element for profiles for healthMonitoring (ASP.NET Settings Schema)
Concepts
ASP.NET Configuration Overview
ASP.NET Web Server Controls and Browser Capabilities
Securing ASP.NET Configuration
ASP.NET Configuration Scenarios
Other Resources
ASP.NET Configuration Settings