ConfigurationElement.EvaluationContext 속성

정의

ContextInformation 개체의 ConfigurationElement 개체를 가져옵니다.

protected:
 property System::Configuration::ContextInformation ^ EvaluationContext { System::Configuration::ContextInformation ^ get(); };
protected System.Configuration.ContextInformation EvaluationContext { get; }
member this.EvaluationContext : System.Configuration.ContextInformation
Protected ReadOnly Property EvaluationContext As ContextInformation

속성 값

ContextInformation에 대한 ConfigurationElement입니다.

예외

현재 요소가 컨텍스트와 연관이 없는 경우

설명

개체는 ContextInformation 평가되는 위치에 따라 개체가 ConfigurationElement 결정을 내리는 데 필요한 컨텍스트를 제공합니다.

개체는 ContextInformation 구성 요소와 관련된 환경 세부 정보를 제공합니다. 예를 들어 속성을 사용하여 IsMachineLevel 가 Machine.config 설정되었는지 여부를 ConfigurationElement 확인하거나 속성을 사용하여 HostingContext 요소가 속한 계층 구조를 ConfigurationElement 확인할 수 있습니다.

적용 대상

추가 정보