TrustSection.Level 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
애플리케이션이 실행될 보안 수준의 이름을 가져오거나 설정합니다.
public:
property System::String ^ Level { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("level", DefaultValue="Full", IsRequired=true)]
[System.Configuration.StringValidator(MinLength=1)]
public string Level { get; set; }
[<System.Configuration.ConfigurationProperty("level", DefaultValue="Full", IsRequired=true)>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.Level : string with get, set
Public Property Level As String
속성 값
신뢰 수준의 이름입니다. 기본값은 "Full"입니다.
- 특성
예제
다음 코드 예제에서는 속성을 사용 하는 방법을 보여 줍니다 Level . 이 코드 예제는 클래스에 제공된 더 큰 예제의 TrustSection 일부입니다.
// Display Level property
Console.WriteLine("Level: {0}", configSection.Level);
' Display Level property.
Console.WriteLine("Level: {0}", configSection.Level)
설명
이 속성은 Level 애플리케이션이 실행될 보안 수준을 지정합니다. 기본값은 "Full"입니다.
사용 가능한 신뢰 수준은 5가지입니다.
전체
높음
중간
Low
최소
명명된 수준은 요소에 정의된 <trustLevel> 보안 수준에 해당합니다 <securityPolicy>.