ProfileSettings 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
ASP.NET 이벤트 프로필을 구성합니다. 이 클래스는 상속할 수 없습니다.
public ref class ProfileSettings sealed : System::Configuration::ConfigurationElement
public sealed class ProfileSettings : System.Configuration.ConfigurationElement
type ProfileSettings = class
inherit ConfigurationElement
Public NotInheritable Class ProfileSettings
Inherits ConfigurationElement
- 상속
예제
이 예제에서는 클래스의 profiles 멤버로 액세스할 수도 있는 섹션의 여러 특성에 ProfileSettings 대해 선언적으로 값을 지정하는 방법을 보여 줍니다.
다음 구성 파일 발췌에서는 섹션의 여러 속성에 대한 값을 선언적으로 지정하는 profiles 방법을 보여줍니다.
<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>
설명
클래스는 ProfileSettings 프로그래밍 방식으로 액세스 하 고 구성 파일의 섹션의 profiles 요소를 수정 healthMonitoring 하는 방법을 제공 합니다.
이벤트 프로필은 ASP.NET 이벤트가 수집되고 공급자에게 발생하는 방법을 결정합니다.
생성자
| Name | Description |
|---|---|
| ProfileSettings(String, Int32, Int32, TimeSpan, String) |
클래스의 새 인스턴스에 BufferModeSettings 대해 지정된 설정을 사용하여 클래스의 새 인스턴스를 초기화합니다. |
| ProfileSettings(String, Int32, Int32, TimeSpan) |
클래스의 새 인스턴스에 ProfileSettings 대해 지정된 설정을 사용하여 클래스의 새 인스턴스를 초기화합니다. |
| ProfileSettings(String) |
ProfileSettings 클래스의 새 인스턴스를 초기화합니다. 클래스의 새 인스턴스에 대해 지정된 이름을 사용합니다. |
속성
| Name | Description |
|---|---|
| CurrentConfiguration |
현재 Configuration 인스턴스가 속한 구성 계층 구조를 나타내는 최상위 ConfigurationElement 인스턴스에 대한 참조를 가져옵니다. (다음에서 상속됨 ConfigurationElement) |
| Custom |
인터페이스를 구현하는 사용자 지정 클래스의 정규화된 형식을 IWebEventCustomEvaluator 가져오거나 설정합니다. |
| ElementInformation |
사용자 지정할 수 없는 정보와 ElementInformation 개체의 기능이 포함된 ConfigurationElement 개체를 가져옵니다. (다음에서 상속됨 ConfigurationElement) |
| ElementProperty |
ConfigurationElementProperty 개체 자체를 나타내는 ConfigurationElement 개체를 가져옵니다. (다음에서 상속됨 ConfigurationElement) |
| EvaluationContext |
ContextInformation 개체에 대한 ConfigurationElement 개체를 가져옵니다. (다음에서 상속됨 ConfigurationElement) |
| HasContext |
CurrentConfiguration 속성이 |
| Item[ConfigurationProperty] |
이 구성 요소의 속성 또는 특성을 가져오거나 설정합니다. (다음에서 상속됨 ConfigurationElement) |
| Item[String] |
이 구성 요소의 속성, 특성 또는 자식 요소를 가져오거나 설정합니다. (다음에서 상속됨 ConfigurationElement) |
| LockAllAttributesExcept |
잠긴 특성의 컬렉션을 가져옵니다. (다음에서 상속됨 ConfigurationElement) |
| LockAllElementsExcept |
잠긴 요소의 컬렉션을 가져옵니다. (다음에서 상속됨 ConfigurationElement) |
| LockAttributes |
잠긴 특성의 컬렉션을 가져옵니다. (다음에서 상속됨 ConfigurationElement) |
| LockElements |
잠긴 요소의 컬렉션을 가져옵니다. (다음에서 상속됨 ConfigurationElement) |
| LockItem |
요소가 잠겨 있는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ConfigurationElement) |
| MaxLimit |
동일한 형식의 이벤트가 발생하는 최대 횟수를 가져오거나 설정합니다. |
| MinInstances |
이벤트가 공급자에게 발생하기 전에 이벤트 발생의 최소 수를 가져오거나 설정합니다. |
| MinInterval |
동일한 형식의 두 이벤트 사이의 최소 간격을 가져오거나 설정합니다. |
| Name |
개체의 ProfileSettings 이름을 가져오거나 설정합니다. |
| Properties |
속성의 컬렉션을 가져옵니다. (다음에서 상속됨 ConfigurationElement) |