Share via


healthMonitoring에 대한 profiles 요소(ASP.NET 설정 스키마)

[이 설명서는 미리 보기 전용이며, 이후 릴리스에서 변경될 수 있습니다. 비어 있는 항목은 자리 표시자로 포함됩니다.]

이벤트를 구성할 때 사용할 매개 변수 집합의 컬렉션을 정의합니다.

이 요소는 .NET Framework 버전 2.0에서 새로 도입되었습니다.

<profiles>
     <add... />
     <remove... />
     <clear... />
</profiles>

특성 및 요소

다음 단원에서는 특성, 자식 요소 및 부모 요소에 대해 설명합니다.

특성

없음

자식 요소

요소

설명

add

선택적 요소입니다.

프로필 컬렉션에 프로필을 추가합니다.

clear

선택적 요소입니다.

프로필 컬렉션에서 모든 프로필을 제거합니다.

remove

선택적 요소입니다.

프로필 컬렉션에서 지정된 프로필을 제거합니다.

부모 요소

요소

설명

configuration

공용 언어 런타임 및 .NET Framework 응용 프로그램에서 사용하는 모든 구성 파일의 필수 루트 요소를 지정합니다.

system.web

ASP.NET 구성 섹션의 루트 요소를 지정합니다.

healthMonitoring

상태 모니터링에 대한 응용 프로그램을 구성합니다.

설명

profiles 요소를 사용하면 이벤트를 구성하는 데 필요한 매개 변수 집합을 수집할 수 있습니다. 각 집합은 프로필을 정의합니다.

기본 구성

다음의 기본 profiles 요소는 .NET Framework 버전 2.0의 루트 Web.config 파일에 구성되어 있습니다.

<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>

예제

다음 코드 예제에서는 프로필을 구성하는 방법을 보여 줍니다.

<healthMonitoring Enabled="true" heartBeatInterval="0">

  <profiles>
    <add name="Default"
      minInstances="1"
      maxLimit="Infinite"
      minInterval="00:01:00"/>
  </profiles>

</healthMonitoring>

요소 정보

구성 섹션 처리기

System.Web.Configuration.HealthMonitoringSection

구성 멤버

HealthMonitoringSection.Profiles

구성 가능한 위치

Machine.config

루트 수준의 Web.config

응용 프로그램 수준의 Web.config

요구 사항

Microsoft IIS(인터넷 정보 서비스) 버전 5.0, 5.1 또는 6.0

.NET Framework 버전 2.0

Microsoft Visual Studio 2005

참고 항목

작업

How to: Lock ASP.NET Configuration Settings

참조

healthMonitoring 요소(ASP.NET 설정 스키마)

healthMonitoring의 profiles 요소에 대한 add 요소(ASP.NET 설정 스키마)

healthMonitoring의 profiles 요소에 대한 remove 요소(ASP.NET 설정 스키마)

healthMonitoring 요소의 profiles 요소에 대한 clear 요소(ASP.NET 설정 스키마)

System.Configuration

System.Web.Configuration

개념

ASP.NET Configuration Overview

ASP.NET Server Controls and Browser Capabilities

Securing Configuration

Configuration Inheritance

기타 리소스

ASP.NET Configuration Files

ASP.NET 구성 설정

일반 구성 설정(ASP.NET)

ASP.NET Configuration API